aboutsummaryrefslogtreecommitdiffstats
path: root/backend/prisma
diff options
context:
space:
mode:
Diffstat (limited to 'backend/prisma')
-rw-r--r--backend/prisma/seed.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/prisma/seed.ts b/backend/prisma/seed.ts
index 9f98e81..d0e3c73 100644
--- a/backend/prisma/seed.ts
+++ b/backend/prisma/seed.ts
@@ -3,9 +3,9 @@ import { PrismaClient } from '@prisma/client';
const prisma = new PrismaClient();
async function main() {
- await prisma.games.createMany({
+ await prisma.game.createMany({
data: [
- { gameName: 'Dancerush' },
+ { name: 'Dancerush' },
],
});
console.log('Initial seed data inserted');
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage