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

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

commit 6324489b9691fa1ee14d5e94ae6475cacd454173
Author: Monica <[email protected]>
AuthorDate: Wed Jan 14 20:31:31 2026 +0530

    Fix Liquibase changelog formatting and failing elements
---
 .../0072_add_result_and_status_to_command_source.xml      | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git 
a/fineract-provider/src/main/resources/db/changelog/tenant/parts/0072_add_result_and_status_to_command_source.xml
 
b/fineract-provider/src/main/resources/db/changelog/tenant/parts/0072_add_result_and_status_to_command_source.xml
index 2b6a0094be..f2df19d7e0 100644
--- 
a/fineract-provider/src/main/resources/db/changelog/tenant/parts/0072_add_result_and_status_to_command_source.xml
+++ 
b/fineract-provider/src/main/resources/db/changelog/tenant/parts/0072_add_result_and_status_to_command_source.xml
@@ -24,10 +24,17 @@
                    
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog 
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd";>
 
     <changeSet id="1" author="fineract" context="postgresql">
-        <validCheckSum>9:b1a2065c6c2f9fba5035e700435a80ab</validCheckSum>
-        <renameColumn newColumnName="status"
-                       oldColumnName="processing_result_enum"
-                       tableName="m_portfolio_command_source"/>
+        <validCheckSum>9:b1a20656c2f9b4a5035e700453a80ab</validCheckSum>
+
+        <preConditions onFail="MARK_RAN">
+        <columnExists tableName="m_portfolio_command_source"
+                      columnName="processing_result_enum"/>
+        </preConditions>
+
+        <renameColumn
+            tableName="m_portfolio_command_source"
+            oldColumnName="processing_result_enum"
+            newColumnName="status"/>
     </changeSet>
 
     <changeSet id="2" author="fineract" context="mysql">

Reply via email to