aboutsummaryrefslogtreecommitdiffstats
path: root/backend/prisma
diff options
context:
space:
mode:
Diffstat (limited to 'backend/prisma')
-rw-r--r--backend/prisma/seed.ts19
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");
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage