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

8 lines
155 B
Elixir
Raw Permalink Normal View History

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