Save ticker and last decision to DB; add order suggestion UI; upsert stocks with execution details; ensure analysis saves ticker

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-05-16 14:06:45 +02:00
parent 3a681fa309
commit 24c7ee2bf1
3 changed files with 66 additions and 7 deletions
+8 -5
View File
@@ -9,9 +9,12 @@ datasource db {
}
model Stock {
id String @id @default(cuid())
ticker String @unique
notes String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
id String @id @default(cuid())
ticker String @unique
notes String?
lastDecision String?
lastExplanation String?
lastExecutionPlan String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}