Skip to content

Commit

Permalink
Add changeset to drop fk constraint on orders.discontinued_by column …
Browse files Browse the repository at this point in the history
…before dropping the column - TRUNK-4138
  • Loading branch information
wluyima committed Jan 2, 2014
1 parent bc394f1 commit c5ee5ea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions api/src/main/resources/liquibase-update-to-latest.xml
Expand Up @@ -6790,6 +6790,14 @@
<dropColumn tableName="orders" columnName="discontinued" />
</changeSet>

<changeSet id="201312201601-TRUNK-4138" author="wyclif">
<preConditions onFail="MARK_RAN">
<foreignKeyConstraintExists foreignKeyName="user_who_discontinued_order" />
</preConditions>
<comment>Dropping fk constraint on orders.discontinued_by column to users.user_id column</comment>
<dropForeignKeyConstraint baseTableName="user_who_discontinued_order" />
</changeSet>

<changeSet id="201312201700-TRUNK-4138" author="banka">
<preConditions onFail="MARK_RAN">
<columnExists tableName="orders" columnName="discontinued_by"/>
Expand Down

0 comments on commit c5ee5ea

Please sign in to comment.