FINERACT-130:AccountHold

This commit is contained in:
rrpawar96
2022-04-04 15:50:54 +02:00
committed by Arnold Gálovics
parent e65d896c38
commit 9329b99185
18 changed files with 346 additions and 117 deletions
@@ -28,4 +28,5 @@
<include file="parts/0006_product_loan_disallow_expected_disbursements.xml" relativeToChangelogFile="true"/>
<include file="parts/0007_product_loan_higher_than_applied_loan_amount_management.xml" relativeToChangelogFile="true"/>
<include file="parts/0008_loan_charge_add_external_id.xml" relativeToChangelogFile="true"/>
<include file="parts/0009_hold_reason_savings_account.xml" relativeToChangelogFile="true"/>
</databaseChangeLog>
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
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.
-->
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
<changeSet author="fineract" id="1">
<addColumn tableName="m_savings_account">
<column name="reason_for_block" type="VARCHAR(256)"/>
</addColumn>
</changeSet>
<changeSet author="fineract" id="2">
<addColumn tableName="m_savings_account_transaction">
<column name="reason_for_block" type="VARCHAR(256)"/>
</addColumn>
</changeSet>
<changeSet author="fineract" id="3">
<insert tableName="m_code">
<column name="code_name" value="SavingsAccountBlockReasons"/>
<column name="is_system_defined" valueBoolean="true"/>
</insert>
<insert tableName="m_code">
<column name="code_name" value="DebitTransactionFreezeReasons"/>
<column name="is_system_defined" valueBoolean="true"/>
</insert>
<insert tableName="m_code">
<column name="code_name" value="CreditTransactionFreezeReasons"/>
<column name="is_system_defined" valueBoolean="true"/>
</insert>
<insert tableName="m_code">
<column name="code_name" value="SavingsTransactionFreezeReasons"/>
<column name="is_system_defined" valueBoolean="true"/>
</insert>
</changeSet>
</databaseChangeLog>