diff --git a/migrations/000.532.sql b/migrations/000.532.sql new file mode 100644 index 0000000..d521a94 --- /dev/null +++ b/migrations/000.532.sql @@ -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);