akkoma/priv/repo/migrations/20190710125051_add_following_address_index_to_user.exs

9 lines
216 B
Elixir
Raw Normal View History

2019-07-10 13:01:32 +00:00
defmodule Pleroma.Repo.Migrations.AddFollowingAddressIndexToUser do
use Ecto.Migration
@disable_ddl_transaction true
def change do
create(index(:users, [:following_address], concurrently: true))
end
end