Added queue logs.
This commit is contained in:
parent
8eda80c61a
commit
c76a900b19
15
models/queue_log.go
Normal file
15
models/queue_log.go
Normal file
@ -0,0 +1,15 @@
|
||||
package models
|
||||
|
||||
import "time"
|
||||
|
||||
type DBQueueLog struct {
|
||||
Queue string `gorm:"primaryKey"`
|
||||
ConversationId string `gorm:"primaryKey"`
|
||||
Start time.Time `gorm:"index"`
|
||||
End time.Time `gorm:"index"`
|
||||
Result string `gorm:"type:json"`
|
||||
}
|
||||
|
||||
func (DBQueueLog) TableName() string {
|
||||
return "gc_queue_logs"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user