summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20180530123448_add_list_follow_index.exs
blob: 8b49501a56317f647823a1423ddee4f7c967ac52 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Pleroma: A lightweight social networking server
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Repo.Migrations.AddListFollowIndex do
  use Ecto.Migration

  def change do
    create_if_not_exists(index(:lists, [:following]))
  end
end