[#1260] Merge remote-tracking branch 'remotes/upstream/develop' into 1260-rate-limite...
[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