364b1cd7e0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
31 lines
688 B
Plaintext
31 lines
688 B
Plaintext
generator client {
|
|
provider = "prisma-client-js"
|
|
output = "../node_modules/.prisma/client"
|
|
}
|
|
|
|
datasource db {
|
|
provider = "sqlite"
|
|
url = "file:./dev.db"
|
|
}
|
|
|
|
model Stock {
|
|
id String @id @default(cuid())
|
|
ticker String @unique
|
|
notes String?
|
|
lastDecision String?
|
|
lastExplanation String?
|
|
lastExecutionPlan String?
|
|
lastJobId String?
|
|
createdAt DateTime @default(now())
|
|
updatedAt DateTime @updatedAt
|
|
}
|
|
|
|
model AppSetting {
|
|
id Int @id @default(autoincrement())
|
|
key String @unique
|
|
value Json
|
|
description String?
|
|
updatedAt DateTime @updatedAt
|
|
updatedBy String?
|
|
}
|