Keep tracks when updating recording

This commit is contained in:
Elias Projahn 2020-11-07 16:18:13 +01:00
parent 435fa23d76
commit 0b2dd1abb9

View file

@ -64,7 +64,7 @@ CREATE TABLE performances (
CREATE TABLE tracks ( CREATE TABLE tracks (
id BIGINT NOT NULL PRIMARY KEY, id BIGINT NOT NULL PRIMARY KEY,
file_name TEXT NOT NULL, file_name TEXT NOT NULL,
recording BIGINT NOT NULL REFERENCES recordings(id) ON DELETE CASCADE, recording BIGINT NOT NULL REFERENCES recordings(id),
track_index INTEGER NOT NULL, track_index INTEGER NOT NULL,
work_parts TEXT NOT NULL work_parts TEXT NOT NULL
); );