import { PrismaClient } from '@prisma/client' const prisma = new PrismaClient() const main = async () => { console.log('💫 seed executing ...') console.log('💫 seed finished.') } main() .catch(e => console.error(e)) .finally(async () => { // await prisma.gender // .createMany({ // data: [ // { id: 1, name: '男性' }, // { id: 2, name: '女性' }, // ], // }) // .catch() await prisma.$disconnect() })