titles/prisma/schema.prisma
ChrQR d01b19993d
All checks were successful
Vercel Production Deployment / Deploy-Production (push) Successful in 2m31s
Vercel Preview Deployment / Deploy-Preview (push) Successful in 1m51s
added rhel-openssl-3.0.x as binary target
2024-05-13 10:25:11 +02:00

23 lines
584 B
Plaintext

// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
generator client {
provider = "prisma-client-js"
binaryTargets = "rhel-openssl-3.0.x"
}
datasource db {
provider = "postgresql"
url = env("POSTGRES_PRISMA_URL") // uses connection pooling
directUrl = env("POSTGRES_URL_NON_POOLING") // uses a direct connection
}
model Post {
id Int @id @default(autoincrement())
name String
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@index([name])
}