You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
The_Tip_Top/prisma/seed/user.ts

22 lines
461 B

import { Prisma } from "@prisma/client";
export const userData: Prisma.UserCreateInput[] = [
{
name: 'Alice',
email: 'alice@prisma.io',
createdAt: new Date(),
role: 'USER'
},
{
name: 'John',
email: 'john@prisma.io',
createdAt: new Date(),
role: 'SELLER'
},
{
name: 'Mosse',
email: 'mosse@prisma.io',
createdAt: new Date(),
role: 'USER'
},
]