Pleroma/priv/repo/migrations/20171130135819_add_local_index_to_user.exs

8 lines
155 B
Elixir
Raw Normal View History

2017-11-30 15:00:12 +01:00
defmodule Pleroma.Repo.Migrations.AddLocalIndexToUser do
use Ecto.Migration
def change do
2019-10-08 14:16:39 +02:00
create_if_not_exists(index(:users, [:local]))
2017-11-30 15:00:12 +01:00
end
end