mirror of
https://github.com/Drop-OSS/drop
synced 2026-08-27 14:23:05 -04:00
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:
parent
e4a295f767
commit
d1786b3c60
10 changed files with 678 additions and 126 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue