fix migration to use same index as model

This commit is contained in:
Christopher Homberger 2025-07-25 16:35:19 +02:00
parent f585f90ff7
commit 5e43aa2251

View File

@ -9,7 +9,7 @@ import (
func AddActionsConcurrency(x *xorm.Engine) error {
type ActionRun struct {
RepoID int64 `xorm:"index index(repo_concurrency)"`
RepoID int64 `xorm:"index unique(repo_index) index(repo_concurrency)"`
ConcurrencyGroup string `xorm:"index(repo_concurrency)"`
ConcurrencyCancel bool
}