Compare commits

...
1 Commits
Author SHA1 Message Date
Frederick Holland 8b2b31ef3f Added call breakdown model 2025-10-19 15:02:27 +11:00
+14
View File
@@ -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"
}