diff --git a/prisma/seed.ts b/prisma/seed.ts index 00267b0..5ce421e 100644 --- a/prisma/seed.ts +++ b/prisma/seed.ts @@ -1,8 +1,7 @@ import { PrismaClient } from '@prisma/client'; +const prisma = new PrismaClient(); async function main() { - const prisma = new PrismaClient(); - await this.prisma.role.create({ name: 'user', });