From a9fe4a96363ea6471cb08d74993bcd35996d4482 Mon Sep 17 00:00:00 2001 From: itepechi <72330683+itepechi@users.noreply.github.com> Date: Thu, 7 Sep 2023 08:26:15 +0900 Subject: [PATCH] Avoid dying when handling large payloads --- .../pgroonga/20230802195431_create_pgroonga_index.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/priv/repo/optional_migrations/pgroonga/20230802195431_create_pgroonga_index.exs b/priv/repo/optional_migrations/pgroonga/20230802195431_create_pgroonga_index.exs index 54717b5d2..ab208a2e4 100644 --- a/priv/repo/optional_migrations/pgroonga/20230802195431_create_pgroonga_index.exs +++ b/priv/repo/optional_migrations/pgroonga/20230802195431_create_pgroonga_index.exs @@ -11,7 +11,7 @@ defmodule Pleroma.Repo.Migrations.CreatePgroongaIndex do ) ) - execute("CREATE INDEX object_content_pgroonga ON objects USING pgroonga ((data->'content'))") + execute("CREATE INDEX object_content_pgroonga ON objects USING pgroonga ((data->'content') pgroonga_jsonb_full_text_search_ops_v2)") end def down do