diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-10-08 01:35:41 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-10-08 01:35:41 -0700 |
| commit | b2be7c3f1c98816b3702092e0970edec90a12c6a (patch) | |
| tree | 14f556a045a578d2b449a0c12ceaacfe83698392 /backend/prisma | |
| parent | c9ca64aafb06de8c31b46efd9df94e74cea350fb (diff) | |
add DIVA to seed scaffold, allow toggle for showing PB only on chart pages
Diffstat (limited to 'backend/prisma')
| -rw-r--r-- | backend/prisma/seed.ts | 19 |
1 files changed, 18 insertions, 1 deletions
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"); } |
