UNPKG

create-auth-js-boiler

Version:
20 lines (16 loc) 455 B
// This file is used to seed the database with initial data. // It is executed when running the `prisma db seed` command. // You can add your own data seeding logic here. import { PrismaClient } from "@prisma/client"; const prisma = new PrismaClient(); async function main() { console.log("Seeding completed!"); } main() .catch((e) => { console.error(e); process.exit(1); }) .finally(async () => { await prisma.$disconnect(); });