diff --git a/migrations/000.052.sql b/migrations/000.052.sql new file mode 100644 index 0000000..9bc2384 --- /dev/null +++ b/migrations/000.052.sql @@ -0,0 +1,10 @@ +-- PW-979 update delivery methods + +-- Replace DHL with dbSchenkerBPA in all european countries +UPDATE "delivery-methods_prices" SET method = 7 WHERE method = 10 AND territory IN ('AT','BE','BG','CY','CZ','DE','DK','EE','ES','EU','FI','FR','GB','GR','HU','IE','IT','LT','LU','LV','MT','NL','PL','PT','RO','SE','SI','SK', 'HR'); + +-- Replace bringPrivate with dbSchenkerBHP in SE +UPDATE "delivery-methods_prices" SET method = 6 WHERE method = 8 AND territory = 'SE'; + +-- Replace bringCompany with dbSchenkerBPA in SE +UPDATE "delivery-methods_prices" SET method = 7 WHERE method = 9 AND territory = 'SE'; \ No newline at end of file