social.metadata.moe/priv/repo/migrations/20171130135819_add_local_index_to_user.exs

8 lines
154 B
Elixir
Raw Normal View History

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