Move and tag products to new designer PW (#456)

This commit is contained in:
Fredrik Ringqvist
2025-01-30 12:51:17 +01:00
committed by GitHub
parent a20ea008e8
commit 554d0d12c0
+7
View File
@@ -0,0 +1,7 @@
-- 1) Set the current designer name (PWB, PWP och PWH) to ref3 fields. (Designer ID 251, 249 & 265)
UPDATE "product-products" SET ref3='PWB' WHERE designerid = 251;
UPDATE "product-products" SET ref3='PWP' WHERE designerid = 249;
UPDATE "product-products" SET ref3='PWH' WHERE designerid = 265;
-- 2) Change the designer of those products to designer id 431 (PW)
UPDATE "product-products" SET designerid = 431 WHERE designerid in (251, 249, 265);