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:
commit
94d12a79c4
|
@ -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
|
Loading…
Reference in New Issue