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

            INSERT INTO encoding_profile (profile_type, description, url) VALUES 
            ("metadata", "Orchard lib spec 2", "/oa/metadata/generate/upc/{upc}/returnErr/1/dms_id/{dms_master_master_id}/delivery_type/{delivery_type}/subformat/{product_type_id}/storename/orchardlibspec2");;

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

                DELETE FROM encoding_profile WHERE description IN ("Orchard lib spec 2");;
            </sql>
        </rollback>
    </changeSet>
</databaseChangeLog>
