P5-6816 add canada market, locale and market_locale (#194)
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
-- P5-6816: Add canada
|
||||
|
||||
insert into markets(name, vat, price_adjustment, currency) values ('CA', 1, 1, 'CAD');
|
||||
|
||||
|
||||
insert into locales(value, fallback_id, name) values
|
||||
('en_CA', (select id from locales where value = 'en_GB'), 'English (Canada)');
|
||||
|
||||
|
||||
insert into locales(value, fallback_id, name) values
|
||||
('fr_CA', (select id from locales where value = 'fr_FR'), 'French (Canada)');
|
||||
|
||||
|
||||
insert into market_locales (market_id, locale_id, name) values
|
||||
(
|
||||
(select id from markets where name = 'CA'),
|
||||
(select id from locales where value = 'en_CA'),
|
||||
'Canada (English)'
|
||||
);
|
||||
|
||||
|
||||
insert into market_locales (market_id, locale_id, name) values
|
||||
(
|
||||
(select id from markets where name = 'CA'),
|
||||
(select id from locales where value = 'fr_CA'),
|
||||
'Canada (French)'
|
||||
);
|
||||
Reference in New Issue
Block a user