This commit is contained in:
@@ -3,11 +3,9 @@
|
||||
|
||||
package v1_19
|
||||
|
||||
import (
|
||||
"xorm.io/xorm"
|
||||
)
|
||||
import "gitea.dev/models/db"
|
||||
|
||||
func AddIndexForHookTask(x *xorm.Engine) error {
|
||||
func AddIndexForHookTask(x db.EngineMigration) error {
|
||||
type HookTask struct {
|
||||
ID int64 `xorm:"pk autoincr"`
|
||||
HookID int64 `xorm:"index"`
|
||||
|
||||
Reference in New Issue
Block a user