P5-7119 Delete Stina Wirsen posters (#205)

This commit is contained in:
fredrikphotowall
2021-04-12 10:34:29 +02:00
committed by GitHub
parent afcb260671
commit 461dcc4fd8
+11
View File
@@ -0,0 +1,11 @@
-- P5-6785 Delete Stina Wirsén posters
-- Delete Stina Wirsén posters
DELETE FROM "product-printproducts_materials" WHERE printid IN (
select printid from "product-printproducts" posters join "product-products" products using (productid) where groupid = 7 and designerid = (select designerid from designers where path = 'stina-wirsen')
);
DELETE FROM "product-printproducts" WHERE printid IN (
select printid from "product-printproducts" posters join "product-products" products using (productid) where groupid = 7 and designerid = (select designerid from designers where path = 'stina-wirsen')
);