Upgrade Prisma to v7

This commit is contained in:
Esdras Renan 2025-11-19 13:24:08 -03:00
parent 54343f61d5
commit 307a291c71
54 changed files with 34750 additions and 243 deletions

View file

@ -1,13 +1,12 @@
generator client {
provider = "prisma-client-js"
// Include both OpenSSL variants to support host build (OpenSSL 3.x)
// and container runtime (Debian bullseye, OpenSSL 1.1.x)
binaryTargets = ["native", "debian-openssl-1.1.x", "debian-openssl-3.0.x"]
provider = "prisma-client"
output = "../src/generated/prisma"
runtime = "nodejs"
moduleFormat = "esm"
}
datasource db {
provider = "sqlite"
url = env("DATABASE_URL")
}
enum UserRole {