generated from pkg/go-template
feat: AutoMigrate user_token table
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
5cc8efc9e9
commit
e033b49ba1
|
@ -5,7 +5,7 @@ import (
|
|||
)
|
||||
|
||||
func init() {
|
||||
err := orm.DB.AutoMigrate(&UserInfo{})
|
||||
err := orm.DB.AutoMigrate(&UserInfo{}, &UserToken{})
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue