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 @@
-- P5-6960 Fix be-fr and ca-fr delivery methods by adding French territory translations
-- Add territory translations to make checkout/delivery methods code identify correct country
INSERT INTO "i18n-territories_names" (territory, language, name) VALUES
('BE', 'fr', 'Belgique'),
('CA', 'fr', 'Canada');
-- Adjust BE price to match correct VAT
UPDATE "delivery-methods_prices"
SET price = (7 / (SELECT vat FROM markets WHERE name = 'BE'))
WHERE territory = 'BE' AND currency = 'EUR' AND method = 14;