upgrade to prisma v6.6.0

This commit is contained in:
Aman Varshney
2025-04-11 18:51:26 +05:30
parent 6633796176
commit 3e7a605a2a
11 changed files with 26 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
import { PrismaClient } from "@prisma/client";
import { PrismaClient } from "./generated/client";
const prisma = new PrismaClient();

View File

@@ -1,6 +1,8 @@
generator client {
provider = "prisma-client-js"
provider = "prisma-client"
previewFeatures = ["prismaSchemaFolder"]
output = "../generated"
moduleFormat = "esm"
}
datasource db {