mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-26 07:52:17 +00:00
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