This repository has been archived on 2026-02-01. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
siri-shortcuts/prisma/schema.prisma
Riccardo Senica b94e2985a9
Some checks failed
Deploy / lint-build-deploy (push) Failing after 51s
fix: add binary target to prisma
2026-02-01 13:37:07 +01:00

24 lines
537 B
Plaintext

generator client {
provider = "prisma-client-js"
binaryTargets = ["native", "linux-musl-openssl-3.0.x"]
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model AiQuery {
id String @id @default(cuid())
question String @db.Text
response String @db.Text
success Boolean
errorMessage String? @db.Text
tokensUsed Int?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@map("ai_queries")
@@index([createdAt])
@@index([success])
}