Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 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"
|
||||
}
|
||||
Reference in New Issue
Block a user