<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="support-listenbrainz" author="BestSteve">
        <preConditions onFail="MARK_RAN">
            <not>
                <columnExists tableName="user_settings" columnName="listenbrainz_enabled" />
            </not>
        </preConditions>
        <addColumn tableName="user_settings">
            <column name="listenbrainz_enabled" type="boolean" defaultValueBoolean="false">
                <constraints nullable="false" />
            </column>
            <column name="listenbrainz_token" type="${varchar_type}" />
        </addColumn>
    </changeSet>
</databaseChangeLog>
