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

@ -59,4 +59,12 @@ CREATE TABLE performances (
person BIGINT REFERENCES persons(id),
ensemble BIGINT REFERENCES ensembles(id),
role BIGINT REFERENCES instruments(id)
);
CREATE TABLE tracks (
id BIGINT NOT NULL PRIMARY KEY,
file_name TEXT NOT NULL,
recording BIGINT NOT NULL REFERENCES recordings(id) ON DELETE CASCADE,
track_index INTEGER NOT NULL,
work_parts TEXT NOT NULL
);