From 343a21b6949028f4ce3cc309543b67ad1bc88da3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arwid=20Thornstr=C3=B6m?= Date: Tue, 14 Oct 2025 11:27:41 +0200 Subject: [PATCH] STEP2: will remove the collection_products from metadata. (#509) * will remove the collection_products from metadata. * correct number on migration --- migrations/000.581.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 migrations/000.581.sql diff --git a/migrations/000.581.sql b/migrations/000.581.sql new file mode 100644 index 0000000..0b741db --- /dev/null +++ b/migrations/000.581.sql @@ -0,0 +1,5 @@ +-- Remove collection_products from metadata after successful migration +UPDATE editorial_pages +SET metadata = metadata - 'collection_products' +WHERE type = 'collection' +AND metadata ? 'collection_products';