honkoma/priv/repo/migrations/20171130135819_add_local_in...

8 lines
155 B
Elixir
Raw Normal View History

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