Files
database/migrations/archive/000.314.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

16 lines
588 B
SQL

-- P5-6932 New Canadian delivery methods
-- Add dhl+dhlEconomyWorld to Canada/CAD (same as USA)
INSERT INTO "delivery-methods_prices" (method, option, option_value, currency, price, territory) VALUES
(10, '', '', 'CAD', 9, 'CA'),
(16, '', '', 'CAD', 0, 'CA');
-- Remove unused delivery methods
DELETE FROM "delivery-methods_prices" where territory = 'CA' AND currency NOT IN ('EUR', 'CAD');
-- Add territory translation to make checkout/delivery methods code identify correct country
INSERT INTO "i18n-territories_names" (territory, language, name) VALUES ('CA', 'fr', 'Canada');