<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
        xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
        xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd
        http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
    <changeSet id="1" author="rajan-sharma">
        <sql dbms="mysql" endDelimiter=";;" splitStatements="true" stripComments="true">
        <![CDATA[
            UPDATE encoding_profile SET `format` = "xml" WHERE encoding_profile_id IN (332,335,336,337);;
            UPDATE encoding_profile SET `format` = "csv" WHERE encoding_profile_id IN (333,334,338);;
        ]]>
        </sql>
        <rollback>
            <![CDATA[
                UPDATE encoding_profile
                    SET `format` = NULL
                        WHERE encoding_profile_id IN (332,333,334,335,336,337,338);;
            ]]>
        </rollback>
    </changeSet>
</databaseChangeLog>
