<?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="nlevkovich">
    <sql dbms="mysql" endDelimiter=";;" splitStatements="true" stripComments="true">
        ALTER TABLE `releases`
        CHANGE COLUMN `product_specific_notes` `special_instructions` TEXT DEFAULT NULL,
        ADD COLUMN `distribution_format_id` tinyint(3) unsigned NULL DEFAULT NULL AFTER `format`;;
    </sql>
    <rollback>
        ALTER TABLE `releases`
        CHANGE COLUMN `special_instructions` `product_specific_notes` TEXT DEFAULT NULL,
        DROP COLUMN `distribution_format_id`;;
    </rollback>
    </changeSet>
</databaseChangeLog>
