mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 03:47:23 +01:00
Store tracks from tracks editor
This commit is contained in:
parent
543f5ed1fd
commit
54e743b876
9 changed files with 126 additions and 11 deletions
|
|
@ -16,4 +16,6 @@ DROP TABLE ensembles;
|
|||
|
||||
DROP TABLE recordings;
|
||||
|
||||
DROP TABLE performances;
|
||||
DROP TABLE performances;
|
||||
|
||||
DROP TABLE tracks;
|
||||
|
|
@ -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
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue