Migration changes

This commit is contained in:
kdeng00
2025-10-19 20:14:53 -04:00
parent cab0be5ab3
commit d75d9c3f58
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -56,7 +56,8 @@ CREATE TABLE IF NOT EXISTS "coverart" (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(), id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
title TEXT NOT NULL, title TEXT NOT NULL,
-- TODO: Separate path later -- TODO: Separate path later
path TEXT NOT NULL, directory TEXT NOT NULL,
filename TEXT NOT NULL,
song_id UUID NOT NULL song_id UUID NOT NULL
-- TODO: Add type later -- TODO: Add type later
); );
+2 -1
View File
@@ -53,6 +53,7 @@ CREATE TABLE IF NOT EXISTS "song" (
CREATE TABLE IF NOT EXISTS "coverart" ( CREATE TABLE IF NOT EXISTS "coverart" (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(), id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
title TEXT NOT NULL, title TEXT NOT NULL,
path TEXT NOT NULL, directory TEXT NOT NULL,
filename TEXT NOT NULL,
song_id UUID NOT NULL song_id UUID NOT NULL
); );