generated from pkg/go-template
13 lines
159 B
Go
13 lines
159 B
Go
|
package model
|
||
|
|
||
|
import (
|
||
|
"git.icechen.cn/monorepo/backend/pkg/orm"
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
err := orm.DB.AutoMigrate(&UserInfo{})
|
||
|
if err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
}
|