My fork of airsonic with experimental fixes and improvements. See branch "custom"
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.
 
 
 

31 lines
1.3 KiB

<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="schema36_001" author="muff1nman">
<preConditions onFail="MARK_RAN">
<sqlCheck expectedResult="0">select count(*) from version where version = 12</sqlCheck>
</preConditions>
<insert tableName="version">
<column name="version" valueNumeric="12" />
</insert>
<rollback>
<delete tableName="version" >
<where>version = 12</where>
</delete>
</rollback>
</changeSet>
<changeSet id="schema36_002" author="muff1nman">
<validCheckSum>8:b32e656eb1338a3ecaeec3cfe3c2b8c3</validCheckSum>
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="player" columnName="technology" />
</not>
</preConditions>
<addColumn tableName="player">
<column name="technology" type="${varchar_type}" defaultValue="WEB">
<constraints nullable="false" />
</column>
</addColumn>
</changeSet>
</databaseChangeLog>