adamsaghy commented on code in PR #2547:
URL: https://github.com/apache/fineract/pull/2547#discussion_r966819443


##########
fineract-provider/src/main/resources/db/changelog/tenant/parts/0016_changed_unique_constraint_of_ref_no.xml:
##########
@@ -26,6 +26,6 @@
         <dropUniqueConstraint tableName="m_savings_account_transaction" 
constraintName="m_savings_account_transaction_ref_no_key"/>
     </changeSet>
     <changeSet author="fineract" id="1" context="mysql">
-        <dropUniqueConstraint tableName="m_savings_account_transaction" 
constraintName="ref_no"/>
+        <dropUniqueConstraint tableName="m_savings_account_transaction" 
constraintName="transaction_ref_no"/>

Review Comment:
   if the problem is the liquibase is generating a unique constraint name which 
is differs from the priorly generated one (with flyway or manually), i would 
recomment to add conditions into the changesets here which precheck which 
unique constraint is existing and just ignore the drop unique constraint 
changeset if it does not exist



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to