This commit is contained in:
Lunny Xiao
2022-10-16 23:23:47 +08:00
committed by Jason Song
parent 482832da76
commit f75a4abc5d
6 changed files with 26 additions and 17 deletions

View File

@ -50,7 +50,7 @@ func addBotTables(x *xorm.Engine) error {
type BotsRun struct {
ID int64
Name string
Title string
RepoID int64 `xorm:"index unique(repo_workflow_index)"`
WorkflowID string `xorm:"index unique(repo_workflow_index)"` // the name of workflow file
Index int64 `xorm:"index unique(repo_workflow_index)"` // a unique number for each run of a particular workflow in a repository