migrate to prisma v7 (#345)

* migrate to prisma v7

* fix prisma type imports

* update prisma version in docker

* fix prisma cli breaking things
This commit is contained in:
Husky
2026-02-10 20:26:53 -05:00
committed by GitHub
parent e4a295f767
commit d1786b3c60
10 changed files with 678 additions and 126 deletions
+1 -2
View File
@@ -5,7 +5,7 @@
// TLDR: vite removes it during bundling it or something like that
generator client {
provider = "prisma-client"
output = "client"
output = "./client"
previewFeatures = ["fullTextSearchPostgres", "relationJoins"]
binaryTargets = ["native", "debian-openssl-3.0.x"]
}
@@ -21,5 +21,4 @@ generator client {
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}