forked from Archives/Athou_commafeed
change order of instructions, fix issue with mysql (#302)
This commit is contained in:
@@ -3,13 +3,6 @@
|
||||
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">
|
||||
|
||||
<changeSet author="athou" id="drop-fes-index">
|
||||
<preConditions onFail="MARK_RAN" onFailMessage="index not found, skip drop index">
|
||||
<indexExists tableName="FEEDENTRYSTATUSES" indexName="subscription_id" />
|
||||
</preConditions>
|
||||
<dropIndex tableName="FEEDENTRYSTATUSES" indexName="subscription_id" />
|
||||
</changeSet>
|
||||
|
||||
<changeSet author="athou" id="recreate-fes-index">
|
||||
<preConditions onFail="MARK_RAN" onFailMessage="index already exists">
|
||||
<not>
|
||||
@@ -23,6 +16,13 @@
|
||||
<column name="read_status" />
|
||||
</createIndex>
|
||||
</changeSet>
|
||||
|
||||
<changeSet author="athou" id="drop-fes-index">
|
||||
<preConditions onFail="MARK_RAN" onFailMessage="index not found, skip drop index">
|
||||
<indexExists tableName="FEEDENTRYSTATUSES" indexName="subscription_id" />
|
||||
</preConditions>
|
||||
<dropIndex tableName="FEEDENTRYSTATUSES" indexName="subscription_id" />
|
||||
</changeSet>
|
||||
|
||||
<changeSet author="athou" id="drop-sequences">
|
||||
<preConditions onFail="MARK_RAN" onFailMessage="table does not exist">
|
||||
|
||||
Reference in New Issue
Block a user