Added call breakdown model

This commit is contained in:
Frederick Holland 2025-10-19 15:02:27 +11:00
parent 423383a2f8
commit 8b2b31ef3f

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"
}