Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
master
Andrew DeMaria 7 years ago
parent e9649dd746
commit bba6e45664
No known key found for this signature in database
GPG Key ID: 0A3F5E91F8364EDF
  1. 8
      libresonic-main/src/main/resources/liquibase/legacy/schema52.xml

@ -16,6 +16,7 @@
</rollback> </rollback>
</changeSet> </changeSet>
<changeSet id="schema52_002" author="muff1nman"> <changeSet id="schema52_002" author="muff1nman">
<validCheckSum>7:e7e0f04cd4691ec2b5d955b449e0154b</validCheckSum>
<preConditions onFail="MARK_RAN"> <preConditions onFail="MARK_RAN">
<not> <not>
<tableExists tableName="music_folder_user" /> <tableExists tableName="music_folder_user" />
@ -32,6 +33,13 @@
<createIndex tableName="music_folder_user" indexName="idx_music_folder_user_username"> <createIndex tableName="music_folder_user" indexName="idx_music_folder_user_username">
<column name="username"/> <column name="username"/>
</createIndex> </createIndex>
<sql>
insert into music_folder_user select music_folder.id, u.username
from music_folder, ${userTableQuote}user${userTableQuote} u
</sql>
<rollback>
<dropTable tableName="music_folder_user" />
</rollback>
</changeSet> </changeSet>
<changeSet id="schema52_003" author="muff1nman"> <changeSet id="schema52_003" author="muff1nman">
<preConditions onFail="MARK_RAN"> <preConditions onFail="MARK_RAN">

Loading…
Cancel
Save