From 949192844f87f585359c04557c743b22f9a9c3b0 Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 2 Jan 2018 14:31:53 +0100 Subject: [PATCH] PW-979 update delivery methods --- migrations/000.052.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 migrations/000.052.sql 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