Add subtitles to Genres and Specials
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Genre" ADD COLUMN "subtitle" TEXT;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "Special" ADD COLUMN "subtitle" TEXT;
|
||||
@@ -27,6 +27,7 @@ model Song {
|
||||
model Genre {
|
||||
id Int @id @default(autoincrement())
|
||||
name String @unique
|
||||
subtitle String?
|
||||
songs Song[]
|
||||
dailyPuzzles DailyPuzzle[]
|
||||
}
|
||||
@@ -34,6 +35,7 @@ model Genre {
|
||||
model Special {
|
||||
id Int @id @default(autoincrement())
|
||||
name String @unique
|
||||
subtitle String?
|
||||
maxAttempts Int @default(7)
|
||||
unlockSteps String // JSON string: e.g. "[2, 4, 7, 11, 16, 30]"
|
||||
createdAt DateTime @default(now())
|
||||
|
||||
Reference in New Issue
Block a user