Skip to content
Snippets Groups Projects
Commit 2d5a4969 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

liquibase: updated data for matching keywords

parent 47807e44
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="j.goderbauer" id="a87ef07d-1443-4de0-b553-02f564b28f20">
<update tableName="RELATION">
<column name="LANGUAGE" value="en-GB"></column>
<where>LANGUAGE = ?</where>
<whereParams>
<param value="en_GB"/>
</whereParams>
</update>
<update tableName="RELATION">
<column name="LANGUAGE" value="no-NO"></column>
<where>LANGUAGE = ?</where>
<whereParams>
<param value="no_NO"/>
</whereParams>
</update>
<rollback>
<update tableName="RELATION">
<column name="LANGUAGE" value="en_GB"></column>
<where>LANGUAGE = ?</where>
<whereParams>
<param value="en-GB"/>
</whereParams>
</update>
<update tableName="RELATION">
<column name="LANGUAGE" value="no_NO"></column>
<where>LANGUAGE = ?</where>
<whereParams>
<param value="no-NO"/>
</whereParams>
</update>
</rollback>
</changeSet>
</databaseChangeLog>
......@@ -13,4 +13,6 @@
<include file="data/example_history/extendHLink_62330df6.xml"/>
<include file="struct/create_address.xml"/>
<include file="struct/create_comm.xml"/>
<include file="misc/1535533490181_persChanges.xml"/>
<include file="data/1535552056314_relationLangChanges.xml"/>
</databaseChangeLog>
<?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="j.goderbauer" id="e4b9e747-d734-441b-9bbd-ee3794c50636">
<addColumn tableName="PERS">
<column name="GENDER_e4b9e747" type="CHAR(1)"/>
</addColumn>
<update tableName="PERS">
<column name="GENDER_e4b9e747" value="m" />
<where>GENDER = ?</where>
<whereParams>
<param value="männlich"/>
</whereParams>
</update>
<dropColumn tableName="PERS">
<column name="GENDER" />
</dropColumn>
<renameColumn tableName="PERS" oldColumnName="GENDER_e4b9e747" newColumnName="GENDER" columnDataType="CHAR(1)" />
<rollback>
<addColumn tableName="PERS">
<column name="GENDER_e4b9e747" type="VARCHAR(50)"/>
</addColumn>
<update tableName="PERS">
<column name="GENDER_e4b9e747" value="männlich" />
<where>GENDER = ?</where>
<whereParams>
<param value="m"/>
</whereParams>
</update>
<dropColumn tableName="PERS">
<column name="GENDER" />
</dropColumn>
<renameColumn tableName="PERS" oldColumnName="GENDER_e4b9e747" newColumnName="GENDER" columnDataType="VARCHAR(50)" />
</rollback>
</changeSet>
</databaseChangeLog>
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