Add index for user follower address.
This commit is contained in:
parent
46f63ea8af
commit
1d1271ca1e
|
@ -0,0 +1,8 @@
|
||||||
|
defmodule Pleroma.Repo.Migrations.AddFollowerAddressIndexToUsers do
|
||||||
|
use Ecto.Migration
|
||||||
|
|
||||||
|
@disable_ddl_transaction true
|
||||||
|
def change do
|
||||||
|
create index(:users, [:follower_address], concurrently: true)
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue