projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'feature/1952-read-muted-notifications' into 'develop'
[akkoma]
/
priv
/
repo
/
migrations
/
20190405160700_add_index_on_subscribers.exs
diff --git
a/priv/repo/migrations/20190405160700_add_index_on_subscribers.exs
b/priv/repo/migrations/20190405160700_add_index_on_subscribers.exs
index 460dafb1b6dd71811667c426c85d4d207d916fb0..bbf47f72c147f17fb5e8c2d0c5bb390d3174da9c 100644
(file)
--- a/
priv/repo/migrations/20190405160700_add_index_on_subscribers.exs
+++ b/
priv/repo/migrations/20190405160700_add_index_on_subscribers.exs
@@
-3,6
+3,12
@@
defmodule Pleroma.Repo.Migrations.AddIndexOnSubscribers do
@disable_ddl_transaction true
def change do
@disable_ddl_transaction true
def change do
- create index(:users, ["(info->'subscribers')"], name: :users_subscribers_index, using: :gin, concurrently: true)
+ create(
+ index(:users, ["(info->'subscribers')"],
+ name: :users_subscribers_index,
+ using: :gin,
+ concurrently: true
+ )
+ )
end
end
end
end