Apply 4 suggestion(s) to 2 file(s)
[akkoma] / priv / repo / migrations / 20190603162018_add_object_in_reply_to_index.exs
1 defmodule Pleroma.Repo.Migrations.AddObjectInReplyToIndex do
2 use Ecto.Migration
3
4 def change do
5 create(index(:objects, ["(data->>'inReplyTo')"], name: :objects_in_reply_to_index))
6 end
7 end