mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-06-22 12:21:34 +10:00
d1786b3c60
* migrate to prisma v7 * fix prisma type imports * update prisma version in docker * fix prisma cli breaking things
25 lines
661 B
Plaintext
25 lines
661 B
Plaintext
// This is your Prisma schema file,
|
|
// learn more about it in the docs: https://pris.ly/d/prisma-schema
|
|
|
|
// see https://github.com/prisma/prisma/issues/27486 why driverAdapters can't be used
|
|
// TLDR: vite removes it during bundling it or something like that
|
|
generator client {
|
|
provider = "prisma-client"
|
|
output = "./client"
|
|
previewFeatures = ["fullTextSearchPostgres", "relationJoins"]
|
|
binaryTargets = ["native", "debian-openssl-3.0.x"]
|
|
}
|
|
|
|
/**
|
|
* generator arktype {
|
|
* provider = "yarn prismark"
|
|
* output = "./validate"
|
|
* fileName = "schema.ts"
|
|
* nullish = true
|
|
* }
|
|
*/
|
|
|
|
datasource db {
|
|
provider = "postgresql"
|
|
}
|