Skip to content

Commit

Permalink
Fix #135: Liquibase: Not precondition failed
Browse files Browse the repository at this point in the history
  • Loading branch information
banterCZ committed Oct 10, 2023
1 parent c1b267d commit 1176045
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,6 @@
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.20.xsd">

<changeSet id="1" author="Lubos Racansky" logicalFilePath="mobile-utility-server/1.5.x/20230622-add-foreign-keys.xml">
<preConditions onFail="MARK_RAN">
<not>
<foreignKeyConstraintExists foreignKeyName="mus_user_authority_user_id_fk" foreignKeyTableName="mus_user_authority" />
</not>
</preConditions>
<addForeignKeyConstraint baseTableName="mus_user_authority" baseColumnNames="user_id" constraintName="mus_user_authority_user_id_fk" referencedTableName="mus_user" referencedColumnNames="id" />
</changeSet>

<changeSet id="2" author="Lubos Racansky" logicalFilePath="mobile-utility-server/1.5.x/20230622-add-foreign-keys.xml">
<preConditions onFail="MARK_RAN">
<not>
<foreignKeyConstraintExists foreignKeyName="mus_mobile_domain_app_id_fk" foreignKeyTableName="mus_mobile_domain" />
</not>
</preConditions>
<addForeignKeyConstraint baseTableName="mus_mobile_domain" baseColumnNames="app_id" constraintName="mus_mobile_domain_app_id_fk" referencedTableName="mus_mobile_app" referencedColumnNames="id" />
</changeSet>

<changeSet id="3" author="Lubos Racansky" logicalFilePath="mobile-utility-server/1.5.x/20230622-add-foreign-keys.xml">
<preConditions onFail="MARK_RAN">
<not>
<foreignKeyConstraintExists foreignKeyName="mus_certificate_mobile_domain_id_fk" foreignKeyTableName="mus_certificate" />
Expand Down

0 comments on commit 1176045

Please sign in to comment.