projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'feature/restart-pleroma-from-outside-application' into 'develop'
[akkoma]
/
priv
/
repo
/
migrations
/
20180325172351_add_follower_address_index_to_users.exs
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 dbf9599b002210d2598c9237aade2d2baf6d0489..18b54411c77b17f336a1853795f7aa5501bda60f 100644
(file)
--- a/
priv/repo/migrations/20180325172351_add_follower_address_index_to_users.exs
+++ b/
priv/repo/migrations/20180325172351_add_follower_address_index_to_users.exs
@@
-3,6
+3,7
@@
defmodule Pleroma.Repo.Migrations.AddFollowerAddressIndexToUsers do
@disable_ddl_transaction true
def change do
@disable_ddl_transaction true
def change do
- create index(:users, [:follower_address], concurrently: true)
+ create(index(:users, [:follower_address], concurrently: true))
+ create(index(:users, [:following], concurrently: true, using: :gin))
end
end
end
end