From c9ed9451473e208a940f667a4f7a70b65653859d Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 16 May 2017 17:56:09 +0200 Subject: [PATCH] P5-1372 Add entry for PL in i18n-currencies_territories --- migrations/000.037.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 migrations/000.037.sql diff --git a/migrations/000.037.sql b/migrations/000.037.sql new file mode 100644 index 0000000..b2f2f5a --- /dev/null +++ b/migrations/000.037.sql @@ -0,0 +1,9 @@ +-- P5-1372 +INSERT INTO "i18n-currencies_territories" (territory, currency) +SELECT 'PL', 'PLN' + WHERE NOT EXISTS ( + SELECT NULL + FROM "i18n-currencies_territories" + WHERE territory = 'PL' + AND currency = 'PLN' + );