Skip to content
Snippets Groups Projects
Verified Commit 027a52fb authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: key in job log is wrong (case LogID instead of log_id) #15

parent 7fe47833
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ import ( ...@@ -6,7 +6,7 @@ import (
) )
type JobLog struct { type JobLog struct {
LogID uint `gorm:"primarykey;autoIncrement:true"` LogID uint `gorm:"primarykey;autoIncrement:true" json:"log_id"`
JobID JobID `json:"job_id" gorm:"type:varchar(255);foreignKey:JobID;references:ID"` JobID JobID `json:"job_id" gorm:"type:varchar(255);foreignKey:JobID;references:ID"`
ProcessID int `json:"process_id"` ProcessID int `json:"process_id"`
StartTime time.Time `json:"start_time"` StartTime time.Time `json:"start_time"`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment