Skip to content

Commit 5e43aa2

Browse files
committed
fix migration to use same index as model
1 parent f585f90 commit 5e43aa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/migrations/v1_25/v322.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
func AddActionsConcurrency(x *xorm.Engine) error {
1111
type ActionRun struct {
12-
RepoID int64 `xorm:"index index(repo_concurrency)"`
12+
RepoID int64 `xorm:"index unique(repo_index) index(repo_concurrency)"`
1313
ConcurrencyGroup string `xorm:"index(repo_concurrency)"`
1414
ConcurrencyCancel bool
1515
}

0 commit comments

Comments
 (0)