Fixed migration
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user