From b2be7c3f1c98816b3702092e0970edec90a12c6a Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Wed, 8 Oct 2025 01:35:41 -0700 Subject: add DIVA to seed scaffold, allow toggle for showing PB only on chart pages --- backend/prisma/seed.ts | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'backend') diff --git a/backend/prisma/seed.ts b/backend/prisma/seed.ts index 4222708..c2667d9 100644 --- a/backend/prisma/seed.ts +++ b/backend/prisma/seed.ts @@ -3,8 +3,25 @@ import { PrismaClient } from "@prisma/client"; const prisma = new PrismaClient(); async function main() { + // pnpm prisma db seed await prisma.game.createMany({ - data: [{ internalName: "dancerush", formattedName: "DANCERUSH STARDOM", description: "A suffle dancing game from KONAMI"}], + data: [ + { + internalName: "dancerush", + formattedName: "DANCERUSH STARDOM", + description: "A suffle dancing game from KONAMI", + }, + { + internalName: "dancearound", + formattedName: "Dance aROUND", + description: "A dance simulation game from KONAMI", + }, + { + internalName: "diva", + formattedName: "Hatsune Miku: Project DIVA Arcade Future Tone", + description: "A 4-button and touch slider game from SEGA", + }, + ], }); console.log("Initial seed data inserted"); } -- cgit v1.2.3