summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20180327175831_actually_drop_local_index.exs
blob: 2da65689cc6ae9e5a3b7464dacc065f071fc2a46 (plain)
1
2
3
4
5
6
7
8
defmodule Pleroma.Repo.Migrations.ActuallyDropLocalIndex do
  use Ecto.Migration

  def change do
    create index(:users, [:local])
    drop_if_exists index("activities", :local)
  end
end