summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20180530123448_add_list_follow_index.exs
blob: a6ff6a9fc06fdef52f8a18a7bc00d0c91fec4fab (plain)
1
2
3
4
5
6
7
8
9
10
11
# Pleroma: A lightweight social networking server
# Copyright © 2017-2023 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