feat: AutoMigrate user_token table
continuous-integration/drone/push Build is passing Details

master
icechen 2022-01-14 00:49:01 +08:00
parent 5cc8efc9e9
commit e033b49ba1
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import (
) )
func init() { func init() {
err := orm.DB.AutoMigrate(&UserInfo{}) err := orm.DB.AutoMigrate(&UserInfo{}, &UserToken{})
if err != nil { if err != nil {
panic(err) panic(err)
} }