forked from AkkomaGang/akkoma
Add index for user follower address.
This commit is contained in:
parent
46f63ea8af
commit
1d1271ca1e
1 changed files with 8 additions and 0 deletions
|
@ -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