fix(election): move additional permissions to new changeset to avoid Liquibase checksum error
The 5 missing permissions were added to the already-executed changeset causing checksum mismatch on restart. Move them to a new changeset 0337_seed_election_permissions_v2 with a preCondition guard. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
3367b7d935
commit
1eba2c50ed
+9
@@ -385,6 +385,15 @@
|
||||
<column name="action_name" value="CREATE"/>
|
||||
<column name="can_maker_checker" valueBoolean="false"/>
|
||||
</insert>
|
||||
</changeSet>
|
||||
|
||||
<!-- 11. Additional permissions missing from initial seed -->
|
||||
<changeSet id="0337_seed_election_permissions_v2" author="CBS">
|
||||
<preConditions onFail="MARK_RAN">
|
||||
<sqlCheck expectedResult="0">
|
||||
SELECT COUNT(*) FROM m_permission WHERE code = 'UPDATE_ELECTION'
|
||||
</sqlCheck>
|
||||
</preConditions>
|
||||
<insert tableName="m_permission">
|
||||
<column name="grouping" value="portfolio"/>
|
||||
<column name="code" value="UPDATE_ELECTION"/>
|
||||
|
||||
Reference in New Issue
Block a user