forked from Archives/Athou_commafeed
fix error with postgresql
* postgresql stores foreign key names in lower case by default, so the precondition was erroneously passing * check for the presence of a primary key instead
This commit is contained in:
@@ -352,8 +352,7 @@
|
|||||||
<changeSet author="athou" id="add-keys">
|
<changeSet author="athou" id="add-keys">
|
||||||
<preConditions onFail="MARK_RAN" onFailMessage="existing table skipping">
|
<preConditions onFail="MARK_RAN" onFailMessage="existing table skipping">
|
||||||
<not>
|
<not>
|
||||||
<foreignKeyConstraintExists foreignKeyTableName="FEEDS"
|
<primaryKeyExists tableName="FEED_FEEDENTRIES" />
|
||||||
foreignKeyName="FKE50C03F13BFA4D81" />
|
|
||||||
</not>
|
</not>
|
||||||
</preConditions>
|
</preConditions>
|
||||||
<addPrimaryKey columnNames="FEEDENTRY_ID, FEED_ID"
|
<addPrimaryKey columnNames="FEEDENTRY_ID, FEED_ID"
|
||||||
|
|||||||
Reference in New Issue
Block a user