akkoma/priv/repo/migrations/20190710125051_add_followin...

9 lines
216 B
Elixir

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