Skip to content

Commit d4281f5

Browse files
committedMar 27, 2014
Added liquibase changesets to rename orders.discontinued_reason and discontinued_reason_non_coded to order_reason and order_reason_non_coded respectively - TRUNK-4138
1 parent 6384c53 commit d4281f5

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
 

‎api/src/main/resources/liquibase-update-to-latest.xml

+16
Original file line numberDiff line numberDiff line change
@@ -7184,6 +7184,22 @@
71847184
referencedTableName="users"/>
71857185
</changeSet>
71867186

7187+
<changeSet id="201402041601-TRUNK-4138" author="wyclif">
7188+
<preConditions onFail="MARK_RAN">
7189+
<columnExists columnName="discontinued_reason" tableName="orders" />
7190+
</preConditions>
7191+
<comment>Renaming orders.discontinued_reason column to order_reason</comment>
7192+
<renameColumn tableName="orders" newColumnName="order_reason" oldColumnName="discontinued_reason" columnDataType="int" />
7193+
</changeSet>
7194+
7195+
<changeSet id="201402041604-TRUNK-4138" author="wyclif">
7196+
<preConditions onFail="MARK_RAN">
7197+
<columnExists columnName="discontinued_reason_non_coded" tableName="orders" />
7198+
</preConditions>
7199+
<comment>Renaming orders.discontinued_reason_non_coded column to order_reason_non_coded</comment>
7200+
<renameColumn tableName="orders" newColumnName="order_reason_non_coded" oldColumnName="discontinued_reason_non_coded" columnDataType="varchar(255)" />
7201+
</changeSet>
7202+
71877203
<changeSet id="201401161532-TRUNK-4202" author="k-joseph">
71887204
<preConditions onFail="MARK_RAN">
71897205
<not><sqlCheck expectedResult="0">select count(*) from orders</sqlCheck></not>

0 commit comments

Comments
 (0)
Please sign in to comment.