icechen 6dab1ffda3
All checks were successful
continuous-integration/drone/push Build is passing
feat: 更改etcd默认地址
2022-01-11 17:10:38 +08:00

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)
}
}