I added a foreign key constraint on multiple column.
<addForeignKeyConstraint constraintName=“FK_TABLE1_TABLE2” baseTableName=“TABLE1”
baseColumnNames=“TABLE1_AN_ID,TABLE1_OTHER_ID” referencedTableName=“TABLE2” referencedColumnNames=“TABEL1_ID,TABLE2_OTHER_ID” />
I use the maven plugin 2.0.5 to update, which works fine, but when I generate sql it crash.
To generate sql I first update to the right version (with a dropfirst option activated), then it end up withhttps://liquibase.jira.com/browse/CORE-921) talking about multi column constraint, so I try a simpler constraint, just to check and then, off course, it works:)
Can anyone help or has an idea.