summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20190603162018_add_object_in_reply_to_index.exs
blob: df4ac778221b2ea0f910ae7be6809d53f3fb465a (plain)
1
2
3
4
5
6
7
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