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
+21
View File
@@ -0,0 +1,21 @@
-- P5-6003 New DHL Express prices
-- Set DHL Express to 99 SEK/DKK/NOK or 10 EUR in SE,DK,NO,FI
-- DHL Express to Sweden (99/1.25 = 79.2)
UPDATE "delivery-methods_prices" SET price = 79.2 WHERE method = 14 and territory = 'SE' and currency = 'SEK';
UPDATE "delivery-methods_prices" SET price = 79.2 WHERE method = 14 and territory = 'SE' AND currency = 'DKK';
-- DHL Express to Finland
UPDATE "delivery-methods_prices" SET price = (10 / 1.24) WHERE method = 14 and territory = 'FI' and currency = 'EUR';
UPDATE "delivery-methods_prices" SET price = 79.2 WHERE method = 14 and territory = 'FI' and currency = 'SEK';
-- DHL Express to Denmark
UPDATE "delivery-methods_prices" SET price = 79.2 WHERE method = 14 and territory = 'DK' and currency = 'DKK';
UPDATE "delivery-methods_prices" SET price = 79.2 WHERE method = 14 and territory = 'DK' and currency = 'SEK';
-- DHL to Norway
UPDATE "delivery-methods_prices" SET price = 79.2 WHERE method = 10 and territory = 'NO' and currency = 'NOK';
UPDATE "delivery-methods_prices" SET price = 79.2 WHERE method = 10 and territory = 'NO' and currency = 'SEK';
UPDATE "delivery-methods_prices" SET price = 79.2 WHERE method = 10 and territory = 'NO' and currency = 'DKK';