Archive old migrations (#426)

* Archive old migrations

* Fix invalid placement of migrations
This commit is contained in:
Rikard Bartholf
2024-10-17 11:19:12 +02:00
committed by GitHub
parent 763262c108
commit ddcbd0afb0
500 changed files with 0 additions and 0 deletions
+11
View File
@@ -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';