Queue coverart (#127)

* Added new module

* Added new endpoint

* Formatting

* Migration changes

* Fix routing issue

* Fixed migration

* Added functionality and test

* Test change

* Cleanup

* Code formatting
This commit was merged in pull request #127.
This commit is contained in:
KD
2025-05-18 18:22:39 -04:00
committed by GitHub
parent d491767de4
commit ddb0bf27f8
4 changed files with 149 additions and 0 deletions
@@ -17,5 +17,12 @@ CREATE TABLE IF NOT EXISTS "metadataQueue" (
song_queue_id UUID NOT NULL
);
-- Table to store queued coverart
CREATE TABLE IF NOT EXISTS "coverartQueue" (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
data BYTEA NOT NULL,
song_queue_id UUID NULL
);
-- Create an index for better query performance
CREATE INDEX metadata_queue_data_metadata ON "metadataQueue" USING gin (metadata);