This commit is contained in:
@@ -3,11 +3,9 @@
|
||||
|
||||
package v1_19
|
||||
|
||||
import (
|
||||
"xorm.io/xorm"
|
||||
)
|
||||
import "gitea.dev/models/db"
|
||||
|
||||
func AddIndexForAccessToken(x *xorm.Engine) error {
|
||||
func AddIndexForAccessToken(x db.EngineMigration) error {
|
||||
type AccessToken struct {
|
||||
TokenLastEight string `xorm:"INDEX token_last_eight"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user