混入日志包

This commit is contained in:
pixelqm
2019-09-04 15:56:49 +08:00
parent 8eae7f186f
commit 3c16f8a360
7 changed files with 54 additions and 39 deletions

View File

@@ -5,6 +5,7 @@ import (
"main/model/dbModel"
)
//注册数据库表专用
func RegistTable(db *gorm.DB) {
db.AutoMigrate(dbModel.User{})
}