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';