Skip to content

Commit

Permalink
CSM-131 Add foreignKeyTableName to liquibase constraints (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
k4pran authored Jan 14, 2024
1 parent 141ac4b commit 3e81245
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions api/src/main/resources/liquibase.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
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-2.0.xsd">
<!-- See http://www.liquibase.org/manual/home#available_database_refactorings
for a list of supported elements and attributes -->

Expand Down Expand Up @@ -339,9 +340,9 @@

<changeSet id="CSM-98-23062015-0037" author="k-joseph">
<preConditions onFail="MARK_RAN">
<foreignKeyConstraintExists
<foreignKeyConstraintExists foreignKeyTableName="chartsearch_synonyms"
foreignKeyName="fk_synonymgroups_synonyms" />
<foreignKeyConstraintExists
<foreignKeyConstraintExists foreignKeyTableName="chartsearch_synonyms"
foreignKeyName="fk_synonymgroups_synonyms_cascade" />
</preConditions>
<comment>Dropping both fk_synonymgroups_synonyms and
Expand Down

0 comments on commit 3e81245

Please sign in to comment.