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

            INSERT INTO dms_encoding_profile (dms_master_master_id, encoding_profile_id, filename, delivery_location, required, order_type, width, height, product_type_id, extension, video_image_cat_id)
            VALUES (645, 258, 'ORCHARD-{upc}-Full-Image-{language}-{country_of_origin}.jpg', '{upc}', 'Y', 'release', 0, 0, 2, 'jpg', 2);;

        </sql>
        <rollback>
            <sql dbms="mysql" endDelimiter=";;" splitStatements="true" stripComments="true">

                DELETE FROM dms_encoding_profile WHERE dms_master_master_id = 645 AND encoding_profile_id =258 AND product_type_id =2;;

            </sql>
        </rollback>
    </changeSet>
</databaseChangeLog>
