backend/app/zeus/service/lark/internal/model/init.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)
}
}