Queue coverart #127

Merged
kdeng00 merged 10 commits from queue_coverart into v0.2 2025-05-18 18:22:39 -04:00
Showing only changes of commit e25870be1c - Show all commits
+3 -3
View File
@@ -18,11 +18,11 @@ CREATE TABLE IF NOT EXISTS "metadataQueue" (
); );
-- Table to store queued coverart -- Table to store queued coverart
CREATE TABLE IF NOT EXISTS "coverartQueue" { CREATE TABLE IF NOT EXISTS "coverartQueue" (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(), id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
data BYTEA NOT NULL, data BYTEA NOT NULL,
song_queue_id UUID NOT NULL song_queue_id UUID NULL
}; );
-- Create an index for better query performance -- Create an index for better query performance
CREATE INDEX metadata_queue_data_metadata ON "metadataQueue" USING gin (metadata); CREATE INDEX metadata_queue_data_metadata ON "metadataQueue" USING gin (metadata);