Add currencies (#434)

* Prepare currencies for PL, RO and NZ

* Populate product-currencies and update relevant markets

* Add currencies

* Fix migration version before merge
This commit is contained in:
Rikard Bartholf
2024-11-04 15:32:11 +01:00
committed by GitHub
parent 483744f82d
commit 0dfea578bb
+13
View File
@@ -0,0 +1,13 @@
INSERT INTO "i18n-currencies" (
iso3char,
symbol,
fractional_parts,
locale
)
VALUES ('PLN', '', 0, 'pl_PL.UTF-8'),
('RON', 'lei', 0, 'ro_RO.UTF-8')
ON CONFLICT(iso3char) DO NOTHING;
INSERT INTO "product-currencies" (iso3char, exchange_rate)
VALUES ('RON', 1)
ON CONFLICT(iso3char) DO NOTHING;