<?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="dratanghayra">
        <sql dbms="mysql" endDelimiter=";;" splitStatements="true" stripComments="true">
            UPDATE releases 
            SET manufacturer_upc = null WHERE manufacturer_upc = "" AND release_id IN (1900572, 1917148, 1926393, 1930671, 1932225, 1995301, 1995322, 1995331, 1996364, 1996406, 1996412, 1996436, 1929785, 1932202, 1994040, 1996499, 1917537, 1917539, 1925108, 1926246, 1995440, 1900576, 1917533, 1917531, 1900615, 1915370, 1996439, 1915355, 1900626, 1900630, 1900598, 1915387);;
        </sql>
        <rollback>
            UPDATE releases 
            SET manufacturer_upc = "" WHERE manufacturer_upc IS null AND release_id IN (1900572, 1917148, 1926393, 1930671, 1932225, 1995301, 1995322, 1995331, 1996364, 1996406, 1996412, 1996436, 1929785, 1932202, 1994040, 1996499, 1917537, 1917539, 1925108, 1926246, 1995440, 1900576, 1917533, 1917531, 1900615, 1915370, 1996439, 1915355, 1900626, 1900630, 1900598, 1915387);;
        </rollback>
    </changeSet>
</databaseChangeLog>

