projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'linkify' into 'develop'
[akkoma]
/
priv
/
repo
/
migrations
/
20180617221540_create_activities_in_reply_to_index.exs
diff --git
a/priv/repo/migrations/20180617221540_create_activities_in_reply_to_index.exs
b/priv/repo/migrations/20180617221540_create_activities_in_reply_to_index.exs
index 1fee6fd7a4ae9d58e8bf4f9389f806c07ea32ef8..c8a0e60a0723b224752f16236ac6f4a0d486c543 100644
(file)
--- a/
priv/repo/migrations/20180617221540_create_activities_in_reply_to_index.exs
+++ b/
priv/repo/migrations/20180617221540_create_activities_in_reply_to_index.exs
@@
-3,6
+3,11
@@
defmodule Pleroma.Repo.Migrations.CreateActivitiesInReplyToIndex do
@disable_ddl_transaction true
def change do
@disable_ddl_transaction true
def change do
- create index(:activities, ["(data->'object'->>'inReplyTo')"], concurrently: true, name: :activities_in_reply_to)
+ create(
+ index(:activities, ["(data->'object'->>'inReplyTo')"],
+ concurrently: true,
+ name: :activities_in_reply_to
+ )
+ )
end
end
end
end