<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="schema61_001" author="muff1nman">
        <preConditions onFail="MARK_RAN">
            <sqlCheck expectedResult="0">select count(*) from version where version = 26</sqlCheck>
        </preConditions>
        <insert tableName="version">
            <column name="version" valueNumeric="26" />
        </insert>
        <rollback>
            <delete tableName="version" >
                <where>version = 26</where>
            </delete>
        </rollback>
    </changeSet>
    <changeSet id="schema61_002" author="muff1nman">
        <preConditions onFail="MARK_RAN">
            <not>
                <columnExists tableName="user_settings" columnName="list_reload_delay" />
            </not>
        </preConditions>
        <addColumn tableName="user_settings">
            <column name="list_reload_delay" type="int" defaultValueNumeric="60">
                <constraints nullable="false" />
            </column>
        </addColumn>
    </changeSet>
    <changeSet id="schema61_003" author="muff1nman">
        <preConditions onFail="MARK_RAN">
            <not>
                <columnExists tableName="user_settings" columnName="keyboard_shortcuts_enabled" />
            </not>
        </preConditions>
        <addColumn tableName="user_settings">
            <column name="keyboard_shortcuts_enabled" type="boolean" defaultValueBoolean="false">
                <constraints nullable="false" />
            </column>
        </addColumn>
    </changeSet>
</databaseChangeLog>
