From 2958d7b7ffdfb8ccbddde5e3058007fa2d83ba8b Mon Sep 17 00:00:00 2001 From: Chlins Zhang Date: Wed, 10 May 2023 16:35:07 +0800 Subject: [PATCH] fix: cherry pick the migration sql (#18644) Cherry pick the migration SQL of 2.8.1 to main branch. Signed-off-by: chlins --- make/migrations/postgresql/0111_2.8.1_schema.up.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 make/migrations/postgresql/0111_2.8.1_schema.up.sql diff --git a/make/migrations/postgresql/0111_2.8.1_schema.up.sql b/make/migrations/postgresql/0111_2.8.1_schema.up.sql new file mode 100644 index 000000000..16f6b7b71 --- /dev/null +++ b/make/migrations/postgresql/0111_2.8.1_schema.up.sql @@ -0,0 +1 @@ +CREATE INDEX IF NOT EXISTS idx_task_extra_attrs_report_uuids ON task USING gin ((extra_attrs::jsonb->'report_uuids'));