<?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="schauhan">
        <sql dbms="mysql" endDelimiter=";;" splitStatements="true" stripComments="false">      
            CREATE TABLE `ROLLBACK-DISTRO-2156_youtube_channel_video_status`
            SELECT * FROM youtube_channel_video_status
            WHERE youtube_video_id IN ('wFWrekEt4zg', 'cnIQAbSLk4U', 'snRqCpC6L6g', '31FP6jEaL14', 'I8cZN55v0Pk', 'KEar9eHW5lw', 'BofBvlmQdbA', '74BLEb5QynI', '0i3zO-4PKk4', '71GR4knS4Ek', '1VOezUmoDR4', 'DqZlx70TJuo', 'U6nZmMaPxPw', 'UiyxPIvB89Q', '05tpymEcmRU', 'pSyFvOfeYb8', '6281z-Pz2ow', '28VFBWYGtWQ', 'tkRcCAz5F2U', 'ceKa9pbAkPs', 'HVOPXSVQsYQ', 'YiqXtld8lQY', '4AWJBMawRZk', 'BEIc85_JfIA', 'FIdqsFMlt1M', 'CIM3HXahwRM', 'djx-gaUXtkA', 'zVslQAHWQeY', 'fNwEgJbcWIs', '1GMtw8QsRM0', 'Du3_3Mj24gs', '-Q9FDLNEcsA', 'RiSGZMpQ85I', 'iZn5fzxyvs0', 'Tzi_nl0XKgk', 'M6YLiq7-crE', 'pZGgjPSJVQo', '5fhOZj71550', '_mC1TT2SrlU', 'UhS67aQhF_8', '-X8Scs7gJcE', 'H2tSyOWBJvE', '2Pt2p7eMFtg', 'l8sJ2sEZbew', 'HOQMf-0RI_k', 'bwQxsuHr9Y0', 'giiruRFUWu8', 'alghl8sUZ98', '5tG-Gm4V2X4', 'Iukz3sr25M0', '3GiO2hfzbZY', 'XLOiRcNsT3o', 'TSGcWpLGLjU', 'aTn5s6yIex8', 'jGzgMCNUwHU', '-PADpcMLqug', 'sIqm2W6Qicc', 'EzkI7M7-Xq8', 'kbhIqIbz_W0', 'PZryc-5lLnw', 'j3weMQIcZ1Y', '9nPgYdQucWg', 'cB1P2xvWOFY', 'u0uQR6cK3qk', 'nEgiJDr-oaE', 'qjUb_mFXs_o', 'OrxbxRW_ZqE', 'cFOAY0Ba67s', 'SUV5bdtArfY', 'Zo4hZVA3UVY', 'By0WpI5OYn4', 'w5v-lZdHXdw', 'KP5hRvMWqZ4', 'v4LpgXIO8No', '0imkZQmbkLM', 'yqHbkmE9nWM');;

            DELETE yt.* FROM youtube_channel_video_status yt
            INNER JOIN `ROLLBACK-DISTRO-2156_youtube_channel_video_status` rp2156 ON rp2156.youtube_video_id = yt.youtube_video_id;;
        </sql>
        <rollback>
            <sql dbms="mysql" endDelimiter=";;" splitStatements="true" stripComments="true">
                INSERT INTO youtube_channel_video_status
                SELECT * FROM `ROLLBACK-DISTRO-2156_youtube_channel_video_status`;;

                DROP TABLE `ROLLBACK-DISTRO-2156_youtube_channel_video_status`;;
            </sql>
        </rollback>
    </changeSet>
</databaseChangeLog>
