1
0
Fork 0
forked from mirrors/akkoma

Add index for user follower address.

This commit is contained in:
lain 2018-03-26 09:53:47 +02:00
parent 46f63ea8af
commit 1d1271ca1e

View file

@ -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