You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ar...@apache.org on 2025/11/17 11:56:09 UTC
(fineract) 03/03: FINERACT-2407: add precheck
This is an automated email from the ASF dual-hosted git repository.
arnold pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
commit 9a16a26d5f1bcf2f3496283794a3d85529e9e3f8
Author: Akshat Soni <ak...@Akshats-MacBook-Air.local>
AuthorDate: Wed Nov 12 21:53:57 2025 +0530
FINERACT-2407: add precheck
---
.../tenant/parts/0205_add_read_familymembers_permission.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/fineract-provider/src/main/resources/db/changelog/tenant/parts/0205_add_read_familymembers_permission.xml b/fineract-provider/src/main/resources/db/changelog/tenant/parts/0205_add_read_familymembers_permission.xml
index 2f401114b2..65d019fe52 100644
--- a/fineract-provider/src/main/resources/db/changelog/tenant/parts/0205_add_read_familymembers_permission.xml
+++ b/fineract-provider/src/main/resources/db/changelog/tenant/parts/0205_add_read_familymembers_permission.xml
@@ -23,6 +23,11 @@
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.3.xsd">
<changeSet id="1" author="fineract">
+ <preConditions onFail="MARK_RAN">
+ <sqlCheck expectedResult="0">
+ SELECT COUNT(1) FROM m_permission WHERE code = 'READ_FAMILYMEMBERS'
+ </sqlCheck>
+ </preConditions>
<insert tableName="m_permission">
<column name="grouping" value="portfolio"/>
<column name="code" value="READ_FAMILYMEMBERS"/>