Skip to content

Commit

Permalink
fix xorm tag
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty287 committed Oct 20, 2022
1 parent cebdfd9 commit b0623c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/model/proc.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type ProcStore interface {
// swagger:model proc
type Proc struct {
ID int64 `json:"id" xorm:"pk autoincr 'proc_id'"`
PipelineID int64 `json:"pipeline_id" xorm:"UNIQUE(s) INDEX 'proc_build_id'"`
PipelineID int64 `json:"pipeline_id" xorm:"UNIQUE(s) INDEX 'proc_pipeline_id'"`
PID int `json:"pid" xorm:"UNIQUE(s) 'proc_pid'"`
PPID int `json:"ppid" xorm:"proc_ppid"`
PGID int `json:"pgid" xorm:"proc_pgid"`
Expand Down

0 comments on commit b0623c5

Please sign in to comment.