Fixed migration

This commit is contained in:
kdeng00
2025-05-01 21:54:11 -04:00
parent 7e42a6a44e
commit e25870be1c
+3 -3
View File
@@ -18,11 +18,11 @@ CREATE TABLE IF NOT EXISTS "metadataQueue" (
);
-- 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(),
data BYTEA NOT NULL,
song_queue_id UUID 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);