Add AI travel day summaries via OpenRouter for skippers.
Skipper-only proxy with per-entry rate limiting, encrypted payload storage, CSV export, and Plausible tracking. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -252,3 +252,14 @@ model GpsTrackPayload {
|
||||
|
||||
@@index([logbookId])
|
||||
}
|
||||
|
||||
model AiSummaryUsage {
|
||||
id String @id @default(uuid())
|
||||
logbookId String
|
||||
entryId String
|
||||
count Int @default(0)
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
@@unique([logbookId, entryId])
|
||||
@@index([logbookId])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user