<?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">        
            USE soundcloud;;

            CREATE TABLE `ROLLBACK-WR-1408-soundcloud-users-conn`
            SELECT * FROM users WHERE orchard_access_key = 'ks7fx6ahgd';;

            DELETE FROM users WHERE orchard_access_key = 'ks7fx6ahgd' ;;
        </sql>
        <rollback>
            <sql dbms="mysql" endDelimiter=";;" splitStatements="true" stripComments="true">
                USE soundcloud;;

                INSERT INTO users
                SELECT * FROM `ROLLBACK-WR-1408-soundcloud-users-conn` WHERE orchard_access_key = 'ks7fx6ahgd';;
            </sql>
        </rollback>
    </changeSet>
</databaseChangeLog>

