feat: add Config schema

This commit is contained in:
Jonathan
2026-07-10 19:46:17 +02:00
parent 349f699bb6
commit 45cf9e8527
2 changed files with 16 additions and 0 deletions
@@ -0,0 +1,9 @@
-- CreateTable
CREATE TABLE "Config" (
"key" TEXT NOT NULL,
"value" TEXT NOT NULL,
"secret" BOOLEAN NOT NULL DEFAULT false,
"updatedAt" TIMESTAMP(3) NOT NULL,
CONSTRAINT "Config_pkey" PRIMARY KEY ("key")
);
+7
View File
@@ -75,3 +75,10 @@ model LibraryItem {
@@unique([artist, album])
}
model Config {
key String @id
value String
secret Boolean @default(false)
updatedAt DateTime @updatedAt
}