boilerplate

This commit is contained in:
Stefan
2021-10-11 12:06:02 +02:00
parent 01f5521433
commit a934017d87
5 changed files with 218 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
async function main() {
// ... you will write your Prisma Client queries here
console.log("Hello world!!")
}
main()
.catch((e) => {
throw e
})
.finally(async () => {
await prisma.$disconnect()
})