Split out interpreter_count in CallStats model

This commit is contained in:
Frederick Holland 2025-09-11 09:23:03 +10:00
parent 0f4223e873
commit 4c6eed2e47
2 changed files with 25 additions and 21 deletions

View File

@ -72,8 +72,12 @@ type CallStat struct {
P1DisconnectTime time.Time `gorm:"index"`
BookingRequestNumber *int `gorm:"index"`
UtsQueue bool
InterpreterCount int
InterpreterAcceptedCount int
InterpreterAccepted bool
InterpreterConnectedCount int
InterpreterConnected bool
// InterpreterCount int
// InterpreterConnected bool
ClientDisconnected bool
UtsDuration int
UtsEntries int

View File

@ -20,7 +20,7 @@ type DBClientProcessed struct {
// ---
BuggedCall bool
Amended bool
CreatedAt time.Time
CreatedAt time.Time `gorm:"autoCreateTime"`
ModifiedAt time.Time
CustomData *string `gorm:"type:json"`
InternalUse *string `gorm:"type:json"`
@ -85,7 +85,7 @@ type DBInterpreterProcessed struct {
// ---
BuggedCall bool
Amended bool
CreatedAt time.Time
CreatedAt time.Time `gorm:"autoCreateTime"`
ModifiedAt time.Time
CustomData *string `gorm:"type:json"`
InternalUse *string `gorm:"type:json"`