pleroma/priv/repo/migrations/20190603162018_add_object_i...

8 lines
197 B
Elixir

defmodule Pleroma.Repo.Migrations.AddObjectInReplyToIndex do
use Ecto.Migration
def change do
create(index(:objects, ["(data->>'inReplyTo')"], name: :objects_in_reply_to_index))
end
end