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