<?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="101" author="jian">
        <sql dbms="mysql" endDelimiter=";;" splitStatements="true" stripComments="true">
        <![CDATA[
            ALTER TABLE dms_delivery_spec 
            ADD COLUMN `aws_s3_region` ENUM('us-east-1','us-west-1','us-west-2','eu-west-1','eu-central-1','ap-southeast-1','ap-southeast-2','ap-northeast-1','ap-northeast-2','sa-east-1') 
            DEFAULT 'us-east-1' NULL;;
        ]]>
        </sql>
        <rollback>
            <sql dbms="mysql" endDelimiter=";;" splitStatements="true" stripComments="true">
            <![CDATA[
                ALTER TABLE dms_delivery_spec DROP COLUMN aws_s3_region;;
            ]]>
            </sql>
        </rollback>
    </changeSet>
</databaseChangeLog>

