Added queue logs.

This commit is contained in:
Frederick Holland 2025-06-17 09:26:18 +10:00
parent 8eda80c61a
commit c76a900b19

15
models/queue_log.go Normal file
View 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"
}