You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
473 B

package init
import (
"gin-vue-admin/model"
"github.com/jinzhu/gorm"
)
//注册数据库表专用
func RegisterTable(db *gorm.DB) {
db.AutoMigrate(model.SysUser{},
model.SysAuthority{},
model.SysMenu{},
model.SysApi{},
model.SysBaseMenu{},
model.JwtBlacklist{},
model.SysWorkflow{},
model.SysWorkflowStepInfo{},
model.ExaFileUploadAndDownload{},
model.ExaFile{},
model.ExaFileChunk{},
model.ExaCustomer{},
)
L.Debug("register table success")
}