diff --git a/migrations/000.314.sql b/migrations/000.314.sql new file mode 100644 index 0000000..33741ea --- /dev/null +++ b/migrations/000.314.sql @@ -0,0 +1,15 @@ +-- 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'); + + +