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';