Split out interpreter_count in CallStats model
This commit is contained in:
parent
0f4223e873
commit
4c6eed2e47
@ -62,25 +62,29 @@ func (InterpreterConnection) TableName() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type CallStat struct {
|
type CallStat struct {
|
||||||
ClientConversationId string `gorm:"primaryKey;index"`
|
ClientConversationId string `gorm:"primaryKey;index"`
|
||||||
CallType string `gorm:"index"`
|
CallType string `gorm:"index"`
|
||||||
ClientId int `gorm:"index"`
|
ClientId int `gorm:"index"`
|
||||||
CustomerDnis string
|
CustomerDnis string
|
||||||
CustomerAni string
|
CustomerAni string
|
||||||
SearchStartTime *time.Time
|
SearchStartTime *time.Time
|
||||||
P1ConnectTime time.Time `gorm:"index"`
|
P1ConnectTime time.Time `gorm:"index"`
|
||||||
P1DisconnectTime time.Time `gorm:"index"`
|
P1DisconnectTime time.Time `gorm:"index"`
|
||||||
BookingRequestNumber *int `gorm:"index"`
|
BookingRequestNumber *int `gorm:"index"`
|
||||||
UtsQueue bool
|
UtsQueue bool
|
||||||
InterpreterCount int
|
InterpreterAcceptedCount int
|
||||||
InterpreterConnected bool
|
InterpreterAccepted bool
|
||||||
ClientDisconnected bool
|
InterpreterConnectedCount int
|
||||||
UtsDuration int
|
InterpreterConnected bool
|
||||||
UtsEntries int
|
// InterpreterCount int
|
||||||
Status string
|
// InterpreterConnected bool
|
||||||
FirstLanguageId int
|
ClientDisconnected bool
|
||||||
LastLanguageId int
|
UtsDuration int
|
||||||
FirstInterpreter string
|
UtsEntries int
|
||||||
|
Status string
|
||||||
|
FirstLanguageId int
|
||||||
|
LastLanguageId int
|
||||||
|
FirstInterpreter string
|
||||||
}
|
}
|
||||||
|
|
||||||
func (CallStat) TableName() string {
|
func (CallStat) TableName() string {
|
||||||
|
|||||||
@ -20,7 +20,7 @@ type DBClientProcessed struct {
|
|||||||
// ---
|
// ---
|
||||||
BuggedCall bool
|
BuggedCall bool
|
||||||
Amended bool
|
Amended bool
|
||||||
CreatedAt time.Time
|
CreatedAt time.Time `gorm:"autoCreateTime"`
|
||||||
ModifiedAt time.Time
|
ModifiedAt time.Time
|
||||||
CustomData *string `gorm:"type:json"`
|
CustomData *string `gorm:"type:json"`
|
||||||
InternalUse *string `gorm:"type:json"`
|
InternalUse *string `gorm:"type:json"`
|
||||||
@ -85,7 +85,7 @@ type DBInterpreterProcessed struct {
|
|||||||
// ---
|
// ---
|
||||||
BuggedCall bool
|
BuggedCall bool
|
||||||
Amended bool
|
Amended bool
|
||||||
CreatedAt time.Time
|
CreatedAt time.Time `gorm:"autoCreateTime"`
|
||||||
ModifiedAt time.Time
|
ModifiedAt time.Time
|
||||||
CustomData *string `gorm:"type:json"`
|
CustomData *string `gorm:"type:json"`
|
||||||
InternalUse *string `gorm:"type:json"`
|
InternalUse *string `gorm:"type:json"`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user