diff --git a/server/model/log.go b/server/model/log.go index acce9f1e0..1e06c8075 100644 --- a/server/model/log.go +++ b/server/model/log.go @@ -27,7 +27,7 @@ const ( type LogEntry struct { ID int64 `json:"id" xorm:"pk autoincr 'id'"` - StepID int64 `json:"step_id" xorm:"'step_id'"` + StepID int64 `json:"step_id" xorm:"INDEX 'step_id'"` Time int64 `json:"time"` Line int `json:"line"` Data []byte `json:"data" xorm:"LONGBLOB"`