X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=priv%2Frepo%2Fmigrations%2F20180325172351_add_follower_address_index_to_users.exs;h=234d33735f18ac4d767f825ba4a56ac5caa2eb00;hb=94c1f28ba4b333513166a7273e892c7c9cfd4353;hp=dbf9599b002210d2598c9237aade2d2baf6d0489;hpb=1d1271ca1e8a8d1fe6322442d39a8b6fa57a0a7a;p=akkoma 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 index dbf9599b0..234d33735 100644 --- a/priv/repo/migrations/20180325172351_add_follower_address_index_to_users.exs +++ b/priv/repo/migrations/20180325172351_add_follower_address_index_to_users.exs @@ -4,5 +4,6 @@ defmodule Pleroma.Repo.Migrations.AddFollowerAddressIndexToUsers do @disable_ddl_transaction true def change do create index(:users, [:follower_address], concurrently: true) + create index(:users, [:following], concurrently: true, using: :gin) end end