Update package.json to add prisma; Add prisma library

This commit is contained in:
Stefan-5422
2022-03-23 12:59:05 +01:00
parent 0734b8d9ff
commit b42f08bd8b
2 changed files with 10 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import { PrismaClient } from "@prisma/client";
// See here: https://github.com/prisma/prisma-client-js/issues/228#issuecomment-618433162
let prisma: PrismaClient;
prisma = new PrismaClient();
export default prisma;