This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
package v1_24
|
||||
|
||||
import (
|
||||
"code.gitea.io/gitea/modules/timeutil"
|
||||
"gitea.dev/models/db"
|
||||
"gitea.dev/modules/timeutil"
|
||||
|
||||
"xorm.io/xorm"
|
||||
"xorm.io/xorm/schemas"
|
||||
)
|
||||
|
||||
@@ -51,6 +51,6 @@ func (a *improveActionTableIndicesAction) TableIndices() []*schemas.Index {
|
||||
return indices
|
||||
}
|
||||
|
||||
func AddNewIndexForUserDashboard(x *xorm.Engine) error {
|
||||
func AddNewIndexForUserDashboard(x db.EngineMigration) error {
|
||||
return x.Sync(new(improveActionTableIndicesAction))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user