Files
ballistic-builder/src/app/lib/script.ts

17 lines
330 B
TypeScript
Raw Normal View History

2024-11-15 15:58:34 -05:00
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
async function main() {
// ... you will write your Prisma Client queries here
}
main()
.then(async () => {
await prisma.$disconnect()
})
.catch(async (e) => {
console.error(e)
await prisma.$disconnect()
process.exit(1)
})