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

8 lines
155 B
Elixir
Raw Permalink Normal View History

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