<?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="anevrekar">
        <sql dbms="mysql" endDelimiter=";;" splitStatements="true" stripComments="true">

            INSERT INTO encoding_profile (profile_type, description, url, `format`)
            VALUES ('metadata', 'Physical CSV', '/oa/metadata/generate/upc/{upc}/returnErr/1/dms_id/{dms_master_master_id}/delivery_type/{delivery_type}/mobile/{mobile}/clip_code/{clip_code}/subformat/{product_type_id}/storename/physicalcsv', 'csv');;
			
        </sql>
        <rollback>
            <sql dbms="mysql" endDelimiter=";;" splitStatements="true" stripComments="true">

                DELETE FROM encoding_profile WHERE description = 'Physical CSV';;
            </sql>
        </rollback>
    </changeSet>
</databaseChangeLog>
