Skip to content
Snippets Groups Projects
Commit ef3d4fba authored by A.Voegl's avatar A.Voegl
Browse files

Keyword SalesprojectCompetitionState

parent f4bbe67f
No related branches found
No related tags found
No related merge requests found
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="a.voegl" id="2991ebff-fbc5-4862-ac79-4b8217e71e68">
<renameColumn newColumnName="STATUS_OLD" oldColumnName="STATUS" tableName="SALESPROJECT_COMPETITION"/>
<addColumn tableName="SALESPROJECT_COMPETITION">
<column name="STATUS" type="CHAR(36)"/>
</addColumn>
<update tableName="SALESPROJECT_COMPETITION">
<column name="STATUS" value="90dabaf6-b62a-4a5b-a9ff-449e5a898a24"/>
<where>STATUS_OLD = 1</where>
</update>
<update tableName="SALESPROJECT_COMPETITION">
<column name="STATUS" value="2709acc9-df9c-470b-840c-6ff89fe0bf4e"/>
<where>STATUS_OLD = 2</where>
</update>
<update tableName="SALESPROJECT_COMPETITION">
<column name="STATUS" value="fb9d270b-a62d-4a78-a3b8-a49dc5afe36d"/>
<where>STATUS_OLD = 3</where>
</update>
<update tableName="SALESPROJECT_COMPETITION">
<column name="STATUS" value="bae61bdf-ef67-4074-9db6-99a292dc8a6d"/>
<where>STATUS_OLD = 4</where>
</update>
<update tableName="SALESPROJECT_COMPETITION">
<column name="STATUS" value="aa4aff7e-3c1a-4a48-95f6-297e341cb7aa"/>
<where>STATUS_OLD = 5</where>
</update>
<update tableName="SALESPROJECT_COMPETITION">
<column name="STATUS" value="ff73172c-8517-4b6e-98cb-43aebacd9af1"/>
<where>STATUS_OLD = 6</where>
</update>
<dropColumn tableName="SALESPROJECT_COMPETITION" columnName="STATUS_OLD"/>
<rollback>
<renameColumn newColumnName="STATUS_OLD" oldColumnName="STATUS" tableName="SALESPROJECT_COMPETITION"/>
<addColumn tableName="SALESPROJECT_COMPETITION">
<column name="STATUS" type="INTEGER"/>
</addColumn>
<update tableName="SALESPROJECT_COMPETITION">
<column name="STATUS" valueNumeric="1"/>
<where>STATUS_OLD = '90dabaf6-b62a-4a5b-a9ff-449e5a898a24'</where>
</update>
<update tableName="SALESPROJECT_COMPETITION">
<column name="STATUS" valueNumeric="2"/>
<where>STATUS_OLD = '2709acc9-df9c-470b-840c-6ff89fe0bf4e'</where>
</update>
<update tableName="SALESPROJECT_COMPETITION">
<column name="STATUS" valueNumeric="3"/>
<where>STATUS_OLD = 'fb9d270b-a62d-4a78-a3b8-a49dc5afe36d'</where>
</update>
<update tableName="SALESPROJECT_COMPETITION">
<column name="STATUS" valueNumeric="4"/>
<where>STATUS_OLD = 'bae61bdf-ef67-4074-9db6-99a292dc8a6d'</where>
</update>
<update tableName="SALESPROJECT_COMPETITION">
<column name="STATUS" valueNumeric="5"/>
<where>STATUS_OLD = 'aa4aff7e-3c1a-4a48-95f6-297e341cb7aa'</where>
</update>
<update tableName="SALESPROJECT_COMPETITION">
<column name="STATUS" valueNumeric="6"/>
<where>STATUS_OLD = 'ff73172c-8517-4b6e-98cb-43aebacd9af1'</where>
</update>
<dropColumn tableName="SALESPROJECT_COMPETITION" columnName="STATUS_OLD"/>
</rollback>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment