From 349c5b910bbddaff6a7f5bbb3f6cc893a83f2eb2 Mon Sep 17 00:00:00 2001 From: francisguchie Date: Tue, 4 Jan 2022 15:31:40 +0200 Subject: [PATCH] FINERACT-1460 update SZL and add SSP --- ...V381__update_currencies_new_currencies.sql | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 fineract-provider/src/main/resources/sql/migrations/core_db/V381__update_currencies_new_currencies.sql diff --git a/fineract-provider/src/main/resources/sql/migrations/core_db/V381__update_currencies_new_currencies.sql b/fineract-provider/src/main/resources/sql/migrations/core_db/V381__update_currencies_new_currencies.sql new file mode 100644 index 000000000..96a7cf50d --- /dev/null +++ b/fineract-provider/src/main/resources/sql/migrations/core_db/V381__update_currencies_new_currencies.sql @@ -0,0 +1,28 @@ +-- +-- Licensed to the Apache Software Foundation (ASF) under one +-- or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information +-- regarding copyright ownership. The ASF licenses this file +-- to you under the Apache License, Version 2.0 (the +-- "License"); you may not use this file except in compliance +-- with the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, +-- software distributed under the License is distributed on an +-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-- KIND, either express or implied. See the License for the +-- specific language governing permissions and limitations +-- under the License. +-- + +INSERT INTO `m_currency` +(`code`,`decimal_places`,`display_symbol`,`name`, `internationalized_name_code`) +VALUES +('SSP',2,'SSĀ£','South Sudanese Pound','currency.SSP'); + +UPDATE `m_currency` SET `name` = 'Eswatini Lilangeni' WHERE `code` = 'SZL' ; + +/***Update organization currencies if applicable***/ +UPDATE m_organisation_currency SET`name` = 'Eswatini Lilangeni' WHERE `code` = 'SZL' ; \ No newline at end of file