mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
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">
|
||||
<preConditions onFail="MARK_RAN" onFailMessage="existing table skipping">
|
||||
<not>
|
||||
<foreignKeyConstraintExists foreignKeyTableName="FEEDS"
|
||||
foreignKeyName="FKE50C03F13BFA4D81" />
|
||||
<primaryKeyExists tableName="FEED_FEEDENTRIES" />
|
||||
</not>
|
||||
</preConditions>
|
||||
<addPrimaryKey columnNames="FEEDENTRY_ID, FEED_ID"
|
||||
|
||||
Reference in New Issue
Block a user