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

            DROP TABLE IF EXISTS `ROLLBACK-release_correction_detail`;;
            DROP TABLE IF EXISTS `ROLLBACK-releases`;;
            DROP TABLE IF EXISTS `release_subgenre_TEMP`;;
            DROP TABLE IF EXISTS `release_correction_TMP`;;
            DROP TABLE IF EXISTS `TMP_release_territory_restriction`;;
            DROP TABLE IF EXISTS `ROLLBACK-releases_format`;;
        </sql>
        <rollback>
            <sql dbms="mysql" endDelimiter=";;" splitStatements="true" stripComments="true">
                SELECT "No Rollback needed";;
            </sql>
        </rollback>
    </changeSet>
</databaseChangeLog>
