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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user