Merge branch 'hotfix/add-in_reply_to_index' into 'develop'

Add index on inReplyTo for objects

See merge request pleroma/pleroma!1240
This commit is contained in:
kaniini 2019-06-04 05:38:13 +00:00
commit 94d12a79c4
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,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