This commit is contained in:
@@ -6,10 +6,10 @@ package v1_14
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"xorm.io/xorm"
|
||||
"gitea.dev/models/db"
|
||||
)
|
||||
|
||||
func AddUserRedirect(x *xorm.Engine) (err error) {
|
||||
func AddUserRedirect(x db.EngineMigration) (err error) {
|
||||
type UserRedirect struct {
|
||||
ID int64 `xorm:"pk autoincr"`
|
||||
LowerName string `xorm:"UNIQUE(s) INDEX NOT NULL"`
|
||||
|
||||
Reference in New Issue
Block a user