fix preconditions

This commit is contained in:
Athou
2013-07-07 21:19:46 +02:00
parent 01e0bf0397
commit 55bb0ce524

View File

@@ -305,7 +305,7 @@
<column name="recoverPasswordTokenDate" type="DATETIME" /> <column name="recoverPasswordTokenDate" type="DATETIME" />
</createTable> </createTable>
<modifySql dbms="mysql"> <modifySql dbms="mysql">
<append value=" ENGINE INNODB CHARACTER SET utf8mb4" /> <append value=" ENGINE INNODB CHARACTER SET utf8" />
</modifySql> </modifySql>
</changeSet> </changeSet>
@@ -352,6 +352,8 @@
<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"
foreignKeyName="FKE50C03F13BFA4D81" />
<tableExists tableName="APPLICATIONSETTINGS" /> <tableExists tableName="APPLICATIONSETTINGS" />
</not> </not>
</preConditions> </preConditions>
@@ -410,7 +412,7 @@
<changeSet author="athou" id="create-indexes"> <changeSet author="athou" id="create-indexes">
<preConditions onFail="MARK_RAN" onFailMessage="existing table skipping"> <preConditions onFail="MARK_RAN" onFailMessage="existing table skipping">
<not> <not>
<tableExists tableName="APPLICATIONSETTINGS" /> <indexExists tableName="FEEDENTRIES" indexName="updated_index" />
</not> </not>
</preConditions> </preConditions>