You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by al...@apache.org on 2022/01/08 23:51:45 UTC

[fineract] 01/02: FINERACT-1460 update SZL and add SSP

This is an automated email from the ASF dual-hosted git repository.

aleks pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git

commit 349c5b910bbddaff6a7f5bbb3f6cc893a83f2eb2
Author: francisguchie <fr...@gmail.com>
AuthorDate: Tue Jan 4 15:31:40 2022 +0200

    FINERACT-1460 update SZL and add SSP
---
 .../V381__update_currencies_new_currencies.sql     | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)

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 0000000..96a7cf5
--- /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