Migration changes

This commit is contained in:
kdeng00
2025-05-01 21:17:06 -04:00
parent 031b1b611a
commit ecc2005178
@@ -17,5 +17,12 @@ CREATE TABLE IF NOT EXISTS "metadataQueue" (
song_queue_id UUID NOT NULL 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 NOT 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);