Add changelog entry for hashtag following
[akkoma] / priv / repo / migrations / 20180606173637_create_apid_host_extraction_index.exs
index 9831a1b827ab19e2d20ff21145d880b713d533b0..07b3f28758962f733db3c1b1d21be888865bd9a3 100644 (file)
@@ -3,6 +3,11 @@ defmodule Pleroma.Repo.Migrations.CreateApidHostExtractionIndex 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