Files
database/migrations/archive/000.423.sql
T
Rikard BartholfandGitHub ddcbd0afb0 Archive old migrations (#426)
* Archive old migrations

* Fix invalid placement of migrations
2024-10-17 11:19:12 +02:00

12 lines
534 B
SQL

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