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 232f75c92d8defb3412bdae1b8f201d8f91d558c..bbf47f72c147f17fb5e8c2d0c5bb390d3174da9c 100644
(file)
--- a/
priv/repo/migrations/20190405160700_add_index_on_subscribers.exs
+++ b/
priv/repo/migrations/20190405160700_add_index_on_subscribers.exs
@@
-1,8
+1,14
@@
defmodule Pleroma.Repo.Migrations.AddIndexOnSubscribers do
use Ecto.Migration
defmodule Pleroma.Repo.Migrations.AddIndexOnSubscribers do
use Ecto.Migration
-
+
@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