FINERACT-2407: add precheck
This commit is contained in:
committed by
Arnold Gálovics
parent
ce813d877c
commit
9a16a26d5f
+5
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user