This commit is contained in:
@@ -4,9 +4,8 @@
|
||||
package v1_22
|
||||
|
||||
import (
|
||||
"code.gitea.io/gitea/modules/timeutil"
|
||||
|
||||
"xorm.io/xorm"
|
||||
"gitea.dev/models/db"
|
||||
"gitea.dev/modules/timeutil"
|
||||
)
|
||||
|
||||
type Blocking struct {
|
||||
@@ -21,6 +20,6 @@ func (*Blocking) TableName() string {
|
||||
return "user_blocking"
|
||||
}
|
||||
|
||||
func AddUserBlockingTable(x *xorm.Engine) error {
|
||||
func AddUserBlockingTable(x db.EngineMigration) error {
|
||||
return x.Sync(&Blocking{})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user