<?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="pshrivastava">
        <sql dbms="mysql" endDelimiter=";;" splitStatements="true" stripComments="true">
            USE art_relations_log;;
            ALTER TABLE product_physical_log
            ADD COLUMN embargo_date DATE DEFAULT NULL AFTER end_date,
            ADD COLUMN pline varchar(255) NULL COMMENT 'Publishing information for the product.',
            ADD COLUMN meeting_notes VARCHAR(255) DEFAULT NULL,
            ADD COLUMN hmv_notes VARCHAR(255) DEFAULT NULL;;
        </sql>
        <rollback>
            <sql dbms="mysql" endDelimiter=";;" splitStatements="true" stripComments="true">
                USE art_relations_log;;
                ALTER TABLE product_physical_log
                DROP COLUMN embargo_date,
                DROP COLUMN pline,
                DROP COLUMN meeting_notes,
                DROP COLUMN hmv_notes;;
            </sql>
        </rollback>
    </changeSet>
</databaseChangeLog>
