mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-05 10:51:49 +00:00
fix migration to use same index as model
This commit is contained in:
parent
f585f90ff7
commit
5e43aa2251
@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
func AddActionsConcurrency(x *xorm.Engine) error {
|
func AddActionsConcurrency(x *xorm.Engine) error {
|
||||||
type ActionRun struct {
|
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)"`
|
ConcurrencyGroup string `xorm:"index(repo_concurrency)"`
|
||||||
ConcurrencyCancel bool
|
ConcurrencyCancel bool
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user