From f8370beebd40c4efcaf23a6cb980541e9a89a2b7 Mon Sep 17 00:00:00 2001 From: Anders Gustafsson <34234789+anders-photowall@users.noreply.github.com> Date: Fri, 16 Jun 2023 12:53:56 +0200 Subject: [PATCH] 3919 - Use fedex in UK (#333) --- migrations/000.423.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 migrations/000.423.sql diff --git a/migrations/000.423.sql b/migrations/000.423.sql new file mode 100644 index 0000000..ff85429 --- /dev/null +++ b/migrations/000.423.sql @@ -0,0 +1,11 @@ +-- Replace dhlEconomyUk with fedexStandardWorld in GB +UPDATE "delivery-methods_prices" +SET method = (select id from "delivery-methods" where name = 'fedexStandardWorld') +WHERE method = (select id from "delivery-methods" where name = 'dhlEconomyUK') +AND territory = 'GB'; + +-- Replace dhl (express) with fedexStandardWorld in GB +UPDATE "delivery-methods_prices" +SET method = (select id from "delivery-methods" where name = 'fedexExpressWorld') +WHERE method = (select id from "delivery-methods" where name = 'dhl') +AND territory = 'GB';