diff --git a/models/formatter.go b/models/formatter.go index c06eaab..10cb769 100644 --- a/models/formatter.go +++ b/models/formatter.go @@ -91,3 +91,17 @@ type CallStat struct { func (CallStat) TableName() string { return "gc_call_stats" } + +type Breakdown struct { + ClientConversationId string `gorm:"primaryKey;index"` + InterpreterConversationId string `gorm:"index"` + Timestamp time.Time `gorm:"index"` + Task string + Duration int + Message string + Metadata *string `gorm:"type:json"` +} + +func (Breakdown) TableName() string { + return "gc_call_breakdown" +}