Avoid dying when handling large payloads: the sequel

This commit is contained in:
itepechi 2023-09-09 07:14:38 +09:00
parent a9fe4a9636
commit 00c8a65879
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ defmodule Mix.Tasks.Pleroma.Database do
Ecto.Adapters.SQL.query!(
Pleroma.Repo,
"CREATE INDEX object_content_pgroonga ON objects USING pgroonga ((data->'content')) WITH (#{pg_options});",
"CREATE INDEX object_content_pgroonga ON objects USING pgroonga ((data->'content') pgroonga_jsonb_full_text_search_ops_v2) WITH (#{pg_options});",
[],
timeout: :infinity
)