Skip to content

Commit

Permalink
docs: add comment to observation schema
Browse files Browse the repository at this point in the history
  • Loading branch information
marliessophie committed May 8, 2024
1 parent d83f591 commit 3a1cba3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/shared/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ view TraceView {
}

// Update ObservationView below when making changes to this model!
// traceId is optional only due to timing during data injestion
// (traceId is not necessarily known at the time of observation creation)
model Observation {
id String @id @default(cuid())
traceId String? @map("trace_id")
Expand Down

0 comments on commit 3a1cba3

Please sign in to comment.