projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'reject' into 'develop'
[akkoma]
/
priv
/
repo
/
migrations
/
20171024121413_add_object_actor_index.exs
diff --git
a/priv/repo/migrations/20171024121413_add_object_actor_index.exs
b/priv/repo/migrations/20171024121413_add_object_actor_index.exs
index 344c9c825dd0f2401e0ace4d17f3c316026f1b65..78084536c0fa1f8b198f80b2b25033825bb09a66 100644
(file)
--- a/
priv/repo/migrations/20171024121413_add_object_actor_index.exs
+++ b/
priv/repo/migrations/20171024121413_add_object_actor_index.exs
@@
-4,6
+4,11
@@
defmodule Pleroma.Repo.Migrations.AddObjectActorIndex do
@disable_ddl_transaction true
def change do
@disable_ddl_transaction true
def change do
- create index(:objects, ["(data->>'actor')", "(data->>'type')"], concurrently: true, name: :objects_actor_type)
+ create(
+ index(:objects, ["(data->>'actor')", "(data->>'type')"],
+ concurrently: true,
+ name: :objects_actor_type
+ )
+ )
end
end
end
end