Issue #164: Show link to MusicBrainz release on album pages

This commit is contained in:
François-Xavier Thomas
2018-05-22 23:17:33 +02:00
parent 40c9debf8e
commit c76a92746d
14 changed files with 111 additions and 13 deletions
@@ -0,0 +1,17 @@
<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="add-album-mb-release-id" author="fxthomas">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="album" columnName="mb_release_id" />
</not>
</preConditions>
<addColumn tableName="album">
<column name="mb_release_id" type="${varchar_type}">
<constraints nullable="true" />
</column>
</addColumn>
</changeSet>
</databaseChangeLog>
@@ -0,0 +1,17 @@
<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="add-media-file-mb-release-id" author="fxthomas">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="media_file" columnName="mb_release_id" />
</not>
</preConditions>
<addColumn tableName="media_file">
<column name="mb_release_id" type="${varchar_type}">
<constraints nullable="true" />
</column>
</addColumn>
</changeSet>
</databaseChangeLog>
@@ -0,0 +1,7 @@
<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">
<include file="add-media-file-mb-release-id.xml" relativeToChangelogFile="true"/>
<include file="add-album-mb-release-id.xml" relativeToChangelogFile="true"/>
</databaseChangeLog>
@@ -10,4 +10,5 @@
<include file="legacy/legacy-changelog.xml" relativeToChangelogFile="true"/>
<include file="6.2/changelog.xml" relativeToChangelogFile="true"/>
<include file="6.3/changelog.xml" relativeToChangelogFile="true"/>
</databaseChangeLog>
<include file="6.4/changelog.xml" relativeToChangelogFile="true"/>
</databaseChangeLog>