Archive old migrations (#426)

* Archive old migrations

* Fix invalid placement of migrations
This commit is contained in:
Rikard Bartholf
2024-10-17 11:19:12 +02:00
committed by GitHub
parent 763262c108
commit ddcbd0afb0
500 changed files with 0 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
-- P5-4423: populate framed prints
DELETE FROM "product-printproducts_materials" WHERE materialid = 6;
DELETE FROM "product-printproducts" WHERE groupid = 8;
INSERT INTO "product-printproducts" (productid, groupid, collectionid, typeid)
SELECT productid, 8, collectionid, typeid FROM "product-printproducts" WHERE groupid = 7;
INSERT INTO "product-printproducts_materials" (printid, materialid)
SELECT printid, 6 FROM "product-printproducts" WHERE groupid = 8;