gorm_models/models/queue_log.go

16 lines
343 B
Go

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