Store tracks from tracks editor

This commit is contained in:
Elias Projahn 2020-11-01 11:04:31 +01:00
parent 543f5ed1fd
commit 54e743b876
9 changed files with 126 additions and 11 deletions

View file

@ -54,6 +54,16 @@ table! {
}
}
table! {
tracks (id) {
id -> BigInt,
file_name -> Text,
recording -> BigInt,
track_index -> Integer,
work_parts -> Text,
}
}
table! {
work_parts (id) {
id -> BigInt,
@ -90,6 +100,7 @@ joinable!(performances -> instruments (role));
joinable!(performances -> persons (person));
joinable!(performances -> recordings (recording));
joinable!(recordings -> works (work));
joinable!(tracks -> recordings (recording));
joinable!(work_parts -> persons (composer));
joinable!(work_parts -> works (work));
joinable!(work_sections -> works (work));
@ -103,6 +114,7 @@ allow_tables_to_appear_in_same_query!(
performances,
persons,
recordings,
tracks,
work_parts,
work_sections,
works,