<databaseChangeLog
        xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
    <changeSet id="schema35_001" author="muff1nman">
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from version where version = 11</sqlCheck>
        </preConditions>
        <insert tableName="version">
            <column name="version" valueNumeric="11" />
        </insert>
        <rollback>
            <delete tableName="version" >
                <where>version = 11</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_002" author="muff1nman">
        <preConditions onFail="MARK_RAN">
            <not>
                <columnExists tableName="user_settings" columnName="now_playing_allowed" />
            </not>
        </preConditions>
        <addColumn tableName="user_settings">
            <column name="now_playing_allowed" type="boolean" defaultValueBoolean="true">
                <constraints nullable="false" />
            </column>
        </addColumn>
    </changeSet>
    <changeSet id="schema35_003" author="muff1nman">
        <preConditions onFail="MARK_RAN">
            <not>
                <columnExists tableName="user_settings" columnName="web_player_default" />
            </not>
        </preConditions>
        <addColumn tableName="user_settings">
            <column name="web_player_default" type="boolean" defaultValueBoolean="false">
                <constraints nullable="false" />
            </column>
        </addColumn>
    </changeSet>
    <changeSet id="schema35_004" author="muff1nman">
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from role where id = 8</sqlCheck>
        </preConditions>
        <insert tableName="role">
            <column name="id" valueNumeric="8"/>
            <column name="name" value="stream" />
        </insert>
        <sql>
            insert into user_role(username, role_id) select distinct u.username, 8 from ${userTableQuote}user${userTableQuote} u
        </sql>
        <rollback>
            <delete tableName="user_role" >
                <where>role_id = 8</where>
            </delete>
            <delete tableName="role">
                <where>id = 8</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_005_fix_binary_type" author="fxthomas" dbms="postgresql">
        <preConditions onFail="MARK_RAN">
            <tableExists tableName="system_avatar" />
            <sqlCheck expectedResult="oid">
                SELECT DATA_TYPE
                FROM INFORMATION_SCHEMA.COLUMNS
                WHERE TABLE_NAME = 'system_avatar'
                AND COLUMN_NAME = 'data'
            </sqlCheck>
        </preConditions>
        <!-- Kept for compatibility with people with an existing table using the workaround in #1213 -->
        <sql>ALTER TABLE system_avatar ALTER COLUMN data TYPE bytea USING lo_get(data);</sql>
        <rollback></rollback>
    </changeSet>
    <changeSet id="schema35_005" author="muff1nman">
        <validCheckSum>8:d428266eb794ae2f1361a6eec0f67672</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <not>
                <tableExists tableName="system_avatar" />
            </not>
        </preConditions>
        <createTable tableName="system_avatar">
            <column name="id" type="int" autoIncrement="true">
                <constraints primaryKey="true" />
            </column>
            <column name="name" type="${varchar_type}" />
            <column name="created_date" type="datetime" defaultValueComputed="${curr_date_expr}">
                <constraints nullable="false" />
            </column>
            <column name="mime_type" type="${varchar_type}" >
                <constraints nullable="false" />
            </column>
            <column name="width" type="int" >
                <constraints nullable="false" />
            </column>
            <column name="height" type="int" >
                <constraints nullable="false" />
            </column>
            <column name="data" type="${binary_type}" >
                <constraints nullable="false" />
            </column>
        </createTable>
        <rollback>
            <dropTable tableName="system_avatar" />
        </rollback>
    </changeSet>
    <changeSet id="schema35_006_fix_binary_type" author="fxthomas" dbms="postgresql">
        <preConditions onFail="MARK_RAN">
            <tableExists tableName="custom_avatar" />
            <sqlCheck expectedResult="oid">
                SELECT DATA_TYPE
                FROM INFORMATION_SCHEMA.COLUMNS
                WHERE TABLE_NAME = 'custom_avatar'
                AND COLUMN_NAME = 'data'
            </sqlCheck>
        </preConditions>
        <!-- Kept for compatibility with people with an existing table using the workaround in #1213 -->
        <sql>ALTER TABLE custom_avatar ALTER COLUMN data TYPE bytea USING lo_get(data);</sql>
        <rollback></rollback>
    </changeSet>
    <changeSet id="schema35_006" author="muff1nman">
        <validCheckSum>8:60a4f99dea63d7813457a1b8f981f763</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <not>
                <tableExists tableName="custom_avatar" />
            </not>
        </preConditions>
        <createTable tableName="custom_avatar">
            <column name="id" type="int" autoIncrement="true">
                <constraints primaryKey="true" />
            </column>
            <column name="name" type="${varchar_type}"/>
            <column name="created_date" type="datetime" defaultValueComputed="${curr_date_expr}">
                <constraints nullable="false" />
            </column>
            <column name="mime_type" type="${varchar_type}" >
                <constraints nullable="false" />
            </column>
            <column name="width" type="int" >
                <constraints nullable="false" />
            </column>
            <column name="height" type="int" >
                <constraints nullable="false" />
            </column>
            <column name="data" type="${binary_type}" >
                <constraints nullable="false" />
            </column>
            <column name="username" type="${varchar_type}" >
                <constraints nullable="false" deleteCascade="true" foreignKeyName="ca_u_fk" referencedTableName="user" referencedColumnNames="username" />
            </column>
        </createTable>
        <rollback>
            <dropTable tableName="custom_avatar" />
        </rollback>
    </changeSet>
    <changeSet id="schema35_007" author="muff1nman">
        <validCheckSum>8:653b5e40160877def2fe855b03f8ed42</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <not>
                <columnExists tableName="user_settings" columnName="avatar_scheme" />
            </not>
        </preConditions>
        <addColumn tableName="user_settings">
            <column name="avatar_scheme" type="${varchar_type}" defaultValue="NONE">
                <constraints nullable="false" />
            </column>
        </addColumn>
    </changeSet>
    <changeSet id="schema35_008" author="muff1nman">
        <preConditions onFail="MARK_RAN">
            <not>
                <columnExists tableName="user_settings" columnName="system_avatar_id" />
            </not>
        </preConditions>
        <addColumn tableName="user_settings">
            <column name="system_avatar_id" type="int">
                <constraints foreignKeyName="us_sai_fk" referencedTableName="system_avatar" referencedColumnNames="id" />
            </column>
        </addColumn>
    </changeSet>
    <changeSet id="schema35_009" author="muff1nman">
        <preConditions onFail="MARK_RAN">
            <not>
                <columnExists tableName="player" columnName="jukebox" />
            </not>
        </preConditions>
        <addColumn tableName="player">
            <column name="jukebox" type="boolean" defaultValueBoolean="false">
                <constraints nullable="false" />
            </column>
        </addColumn>
    </changeSet>
    <changeSet id="schema35_010_Formal" author="muff1nman">
        <validCheckSum>7:54035115d2d5d88756e872b3462f26cc</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Formal'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Formal" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Formal.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Formal'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Engineer" author="muff1nman">
        <validCheckSum>7:1f00633cd526800eeaa0f96d5d2d0ab4</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Engineer'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Engineer" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Engineer.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Engineer'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Footballer" author="muff1nman">
        <validCheckSum>7:74067f5a06636f5f4e05fc165652da8e</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Footballer'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Footballer" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Footballer.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Footballer'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Green-Boy" author="muff1nman">
        <validCheckSum>7:58eb7d10640898003be6f1742733078e</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Green-Boy'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Green-Boy" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Green-Boy.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Green-Boy'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Linux-Zealot" author="muff1nman">
        <validCheckSum>7:6a27c30211f114b76bfb8dc87e39afe0</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Linux-Zealot'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Linux-Zealot" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Linux-Zealot.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Linux-Zealot'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Mac-Zealot" author="muff1nman">
        <validCheckSum>7:9cddcb5f9a6a360f60ab72b305345817</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Mac-Zealot'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Mac-Zealot" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Mac-Zealot.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Mac-Zealot'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Windows-Zealot" author="muff1nman">
        <validCheckSum>7:f2b9ba75a5bd06e4523e78362044ae7a</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Windows-Zealot'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Windows-Zealot" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Windows-Zealot.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Windows-Zealot'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Army-Officer" author="muff1nman">
        <validCheckSum>7:f82442701bee7b16b2f11c83f02aabab</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Army-Officer'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Army-Officer" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Army-Officer.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Army-Officer'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Beatnik" author="muff1nman">
        <validCheckSum>7:51ebe6f94e5cafaf3c5fcd568e950434</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Beatnik'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Beatnik" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Beatnik.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Beatnik'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_All-Caps" author="muff1nman">
        <validCheckSum>7:d22cdfc57fc0ce6413ec04fd6e2fe5f8</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'All-Caps'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="All-Caps" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/All-Caps.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'All-Caps'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Clown" author="muff1nman">
        <validCheckSum>7:7e50b09bc5cfd25bdb353562f3f1f768</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Clown'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Clown" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Clown.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Clown'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Commie-Pinko" author="muff1nman">
        <validCheckSum>7:b674559ca9b7dd1c2466e138e7137405</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Commie-Pinko'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Commie-Pinko" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Commie-Pinko.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Commie-Pinko'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Forum-Flirt" author="muff1nman">
        <validCheckSum>7:7290bba7007dcc3fe8d90991971b4030</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Forum-Flirt'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Forum-Flirt" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Forum-Flirt.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Forum-Flirt'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Gamer" author="muff1nman">
        <validCheckSum>7:4543410f8e5681f20ecef97e780e0573</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Gamer'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Gamer" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Gamer.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Gamer'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Hopelessly-Addicted" author="muff1nman">
        <validCheckSum>7:f3c66c12b246da0a90349b6a3da741a3</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Hopelessly-Addicted'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Hopelessly-Addicted" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Hopelessly-Addicted.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Hopelessly-Addicted'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Jekyll-And-Hyde" author="muff1nman">
        <validCheckSum>7:81c5f814838707b89721759498743da0</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Jekyll-And-Hyde'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Jekyll-And-Hyde" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Jekyll-And-Hyde.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Jekyll-And-Hyde'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Joker" author="muff1nman">
        <validCheckSum>7:1a15275764dc97170319825b94f70fb3</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Joker'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Joker" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Joker.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Joker'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Lurker" author="muff1nman">
        <validCheckSum>7:66415321945789d22a16d042b1b3306f</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Lurker'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Lurker" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Lurker.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Lurker'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Moderator" author="muff1nman">
        <validCheckSum>7:e60a95cc8d57ff522415b581f13d52e6</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Moderator'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Moderator" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Moderator.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Moderator'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Newbie" author="muff1nman">
        <validCheckSum>7:9b38b2025882a11fb02d9f9784f067ed</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Newbie'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Newbie" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Newbie.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Newbie'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_No-Dissent" author="muff1nman">
        <validCheckSum>7:1cd5940012c95e26462840dfaacd1ee5</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'No-Dissent'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="No-Dissent" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/No-Dissent.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'No-Dissent'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Performer" author="muff1nman">
        <validCheckSum>7:b6f3765aa9733f026a6eced46f17fd76</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Performer'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Performer" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Performer.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Performer'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Push-My-Button" author="muff1nman">
        <validCheckSum>7:e959c49fb38e99fe7fc1e00efd3d7b16</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Push-My-Button'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Push-My-Button" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Push-My-Button.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Push-My-Button'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Ray-Of-Sunshine" author="muff1nman">
        <validCheckSum>7:ad41d5220459ea33978c0b7c7e05b282</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Ray-Of-Sunshine'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Ray-Of-Sunshine" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Ray-Of-Sunshine.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Ray-Of-Sunshine'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Red-Hot-Chili-Peppers-1" author="muff1nman">
        <validCheckSum>7:d7f6b7675de11283a5a61ece4693cdfe</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Red-Hot-Chili-Peppers-1'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Red-Hot-Chili-Peppers-1" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Red-Hot-Chili-Peppers-1.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Red-Hot-Chili-Peppers-1'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Red-Hot-Chili-Peppers-2" author="muff1nman">
        <validCheckSum>7:35f2791297bbdca1cd04447aeafd70e9</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Red-Hot-Chili-Peppers-2'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Red-Hot-Chili-Peppers-2" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Red-Hot-Chili-Peppers-2.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Red-Hot-Chili-Peppers-2'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Red-Hot-Chili-Peppers-3" author="muff1nman">
        <validCheckSum>7:97b4ee07300628c37c422dc2c4570e5a</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Red-Hot-Chili-Peppers-3'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Red-Hot-Chili-Peppers-3" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Red-Hot-Chili-Peppers-3.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Red-Hot-Chili-Peppers-3'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Red-Hot-Chili-Peppers-4" author="muff1nman">
        <validCheckSum>7:a8d662d989026bef363ea0096f2eb3f5</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Red-Hot-Chili-Peppers-4'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Red-Hot-Chili-Peppers-4" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Red-Hot-Chili-Peppers-4.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Red-Hot-Chili-Peppers-4'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Ringmaster" author="muff1nman">
        <validCheckSum>7:ee2340f09e351c1ccda3c9dfa71ffcbf</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Ringmaster'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Ringmaster" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Ringmaster.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Ringmaster'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Rumor-Junkie" author="muff1nman">
        <validCheckSum>7:46c9cfd1d5d60eef0277d046064e7670</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Rumor-Junkie'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Rumor-Junkie" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Rumor-Junkie.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Rumor-Junkie'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Sozzled-Surfer" author="muff1nman">
        <validCheckSum>7:c018f6267a19989ba99c2361ad959fc6</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Sozzled-Surfer'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Sozzled-Surfer" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Sozzled-Surfer.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Sozzled-Surfer'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Statistician" author="muff1nman">
        <validCheckSum>7:786c0d65ab283f6cad03fdd0757480f9</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Statistician'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Statistician" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Statistician.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Statistician'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Tech-Support" author="muff1nman">
        <validCheckSum>7:5cfbe2a8a4ad2a605880170d27b195ed</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Tech-Support'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Tech-Support" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Tech-Support.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Tech-Support'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_The-Guru" author="muff1nman">
        <validCheckSum>7:ab9565e7768e03193d2de5c60be74843</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'The-Guru'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="The-Guru" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/The-Guru.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'The-Guru'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_The-Referee" author="muff1nman">
        <validCheckSum>7:705db6a005696ae8d9d7a39d9ef626a8</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'The-Referee'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="The-Referee" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/The-Referee.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'The-Referee'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Troll" author="muff1nman">
        <validCheckSum>7:6eb305b202548b993d7edd0746ea71d9</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Troll'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Troll" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Troll.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Troll'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Uptight" author="muff1nman">
        <validCheckSum>7:dc955eccac25bbe19b61de970ddea05e</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Uptight'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Uptight" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Uptight.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Uptight'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Fire-Guitar" author="muff1nman">
        <validCheckSum>7:2c8eb5047dc5ebe3fbb1c5bc4f614122</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Fire-Guitar'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Fire-Guitar" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Fire-Guitar.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Fire-Guitar'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Drum" author="muff1nman">
        <validCheckSum>7:4e77bbb7cca43ba206f0bbfd4af38d7f</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Drum'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Drum" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Drum.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Drum'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Headphones" author="muff1nman">
        <validCheckSum>7:b577f199dd646877d51f4766d63dbd72</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Headphones'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Headphones" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Headphones.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Headphones'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Mic" author="muff1nman">
        <validCheckSum>7:999caf515ab0b3d5ac99d3c81893bd67</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Mic'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Mic" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Mic.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Mic'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Turntable" author="muff1nman">
        <validCheckSum>7:14ea8fa0912b13ab337c940b871d7782</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Turntable'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Turntable" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Turntable.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Turntable'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Vinyl" author="muff1nman">
        <validCheckSum>7:391aefb55d1076fd9e05c1ae7377d5cd</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Vinyl'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Vinyl" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Vinyl.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Vinyl'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Cool" author="muff1nman">
        <validCheckSum>7:c4fbec5479846de62714bf0fed6224c3</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Cool'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Cool" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Cool.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Cool'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Laugh" author="muff1nman">
        <validCheckSum>7:9ddb901cd6baef436261d8719973988d</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Laugh'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Laugh" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Laugh.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Laugh'</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema35_010_Study" author="muff1nman">
        <validCheckSum>7:d4bc85dc419904b95ff88b95dfc4694a</validCheckSum>
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from system_avatar where name = 'Study'</sqlCheck>
        </preConditions>
        <insert tableName="system_avatar">
            <column name="name" value="Study" />
            <column name="mime_type" value="img/png" />
            <column name="width" valueNumeric="48" />
            <column name="height" valueNumeric="48" />
            <column name="data" valueBlobFile="../../org/airsonic/player/dao/schema/Study.png" />
        </insert>
        <rollback>
            <delete tableName="system_avatar">
                <where>name = 'Study'</where>
            </delete>
        </rollback>
    </changeSet>
</databaseChangeLog>
