1
1
mirror of https://github.com/go-gitea/gitea synced 2025-11-01 11:58:25 +00:00

refactor: rename Number to Index

This commit is contained in:
Jason Song
2023-01-04 17:03:51 +08:00
parent 2c686e8826
commit d5e6d959eb
3 changed files with 6 additions and 6 deletions

View File

@@ -131,8 +131,8 @@ func AddActionsTables(x *xorm.Engine) error {
type ActionTaskStep struct {
ID int64
Name string `xorm:"VARCHAR(255)"`
TaskID int64 `xorm:"index unique(task_number)"`
Number int64 `xorm:"index unique(task_number)"`
TaskID int64 `xorm:"index unique(task_index)"`
Index int64 `xorm:"index unique(task_index)"`
RepoID int64 `xorm:"index"`
Status int `xorm:"index"`
LogIndex int64