first db schema gen

This commit is contained in:
2025-04-13 18:15:22 -05:00
parent d4473f98b6
commit 0bbd1b2bca
16 changed files with 147 additions and 12 deletions
+5 -4
View File
@@ -1,6 +1,7 @@
CREATE TABLE audio_files (
id uuid PRIMARY KEY,
file_path text NOT NULL,
file_type text NOT NULL,
length_seconds int NOT NULL
id int PRIMARY KEY,
file_path text NOT NULL UNIQUE,
length_milliseconds int NOT NULL,
FOREIGN KEY(file_type_id) REFERENCES file_types(id),
FOREIGN KEY(recording_id) REFERENCES recordings(id)
);