From a8e9c940df671598ba37618778dbee72735d5d70 Mon Sep 17 00:00:00 2001 From: Martin Carlsson Date: Mon, 11 May 2020 16:59:03 +0200 Subject: [PATCH] P5-5208 remove product collections --- migrations/000.186.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 migrations/000.186.sql diff --git a/migrations/000.186.sql b/migrations/000.186.sql new file mode 100644 index 0000000..29b23d9 --- /dev/null +++ b/migrations/000.186.sql @@ -0,0 +1,15 @@ +-- P5-5208: remove product collections + +DROP TABLE collections_products; +DROP TABLE collections; + +ALTER TABLE designers + DROP COLUMN productcollectionid; + +ALTER TABLE "product-printprices" + DROP COLUMN collectionid; + +ALTER TABLE "product-printproducts" + DROP COLUMN collectionid; + +DROP TABLE "product-collections";