Update song queue flow (#142)

* Added new status and made changes to song queue status code

* Saving changes

* Got a test working

* Got another test working

* Got the last test working

* Code cleanup

* More minor changes

* More minor changes

* Minor changes
This commit was merged in pull request #142.
This commit is contained in:
KD
2025-06-07 14:47:42 -04:00
committed by GitHub
parent eb1f19a96e
commit 6f2e8d6e17
3 changed files with 360 additions and 303 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ CREATE EXTENSION IF NOT EXISTS pgcrypto;
CREATE TABLE IF NOT EXISTS "songQueue" (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
filename TEXT NOT NULL,
status TEXT CHECK (status IN ('pending', 'processing', 'done')),
status TEXT CHECK (status IN ('pending', 'ready', 'processing', 'done')),
data BYTEA NULL
);