Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
[akkoma] / priv / repo / migrations / 20190603162018_add_object_in_reply_to_index.exs
index df4ac778221b2ea0f910ae7be6809d53f3fb465a..faed5e31b2122c89226da7310902d56f616fb2ee 100644 (file)
@@ -2,6 +2,6 @@ defmodule Pleroma.Repo.Migrations.AddObjectInReplyToIndex do
   use Ecto.Migration
 
   def change do
-    create index(:objects, ["(data->>'inReplyTo')"], name: :objects_in_reply_to_index)
+    create(index(:objects, ["(data->>'inReplyTo')"], name: :objects_in_reply_to_index))
   end
 end