logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: 1d1271ca1e8a8d1fe6322442d39a8b6fa57a0a7a
parent: 46f63ea8afa2f1405934b7cae181bfad8a653de2
Author: lain <lain@soykaf.club>
Date:   Mon, 26 Mar 2018 09:53:47 +0200

Add index for user follower address.

Diffstat:

Apriv/repo/migrations/20180325172351_add_follower_address_index_to_users.exs8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/priv/repo/migrations/20180325172351_add_follower_address_index_to_users.exs b/priv/repo/migrations/20180325172351_add_follower_address_index_to_users.exs @@ -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