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
/
20180606173637_create_apid_host_extraction_index.exs
diff --git
a/priv/repo/migrations/20180606173637_create_apid_host_extraction_index.exs
b/priv/repo/migrations/20180606173637_create_apid_host_extraction_index.exs
index 9831a1b827ab19e2d20ff21145d880b713d533b0..07b3f28758962f733db3c1b1d21be888865bd9a3 100644
(file)
--- a/
priv/repo/migrations/20180606173637_create_apid_host_extraction_index.exs
+++ b/
priv/repo/migrations/20180606173637_create_apid_host_extraction_index.exs
@@
-3,6
+3,11
@@
defmodule Pleroma.Repo.Migrations.CreateApidHostExtractionIndex do
@disable_ddl_transaction true
def change do
@disable_ddl_transaction true
def change do
- create index(:activities, ["(split_part(actor, '/', 3))"], concurrently: true, name: :activities_hosts)
+ create(
+ index(:activities, ["(split_part(actor, '/', 3))"],
+ concurrently: true,
+ name: :activities_hosts
+ )
+ )
end
end
end
end