You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
877 B
18 lines
877 B
<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>
|
|
|