in the middle of party-user frontend,

This commit is contained in:
louiscklaw
2025-06-16 03:03:54 +08:00
parent 17aaf97722
commit e93c5dcf62
38 changed files with 3074 additions and 3 deletions

View File

@@ -34,6 +34,20 @@ async function partyUser() {
emailVerified: new Date(),
},
});
for (let i = 0; i < 10; i++) {
await prisma.partyUser.upsert({
where: { email: `bob${i}@prisma.io` },
update: {},
create: {
email: `bob${i}@prisma.io`,
name: 'Bob',
password: 'Aa12345678',
emailVerified: new Date(),
},
});
}
console.log('seed partyUser done');
}