14 lines
491 B
Plaintext
14 lines
491 B
Plaintext
generator client {
|
|
provider = "prisma-client"
|
|
output = "../../packages/db/generated/prisma/client"
|
|
}
|
|
|
|
datasource db {
|
|
provider = "postgresql"
|
|
// Connection URLs live in prisma.config.ts (Prisma 7 dropped the
|
|
// url / directUrl properties from schema.prisma). The migrate datasource
|
|
// uses DIRECT_URL (port 5432, direct to Postgres) so prepared statements
|
|
// survive; PrismaClient at runtime uses DATABASE_URL (port 6432, via
|
|
// PgBouncer) — see docs/ops/pgbouncer.md.
|
|
}
|