package db import ( "gitea.baoapi.com/root/stu_uuos/entity" "gitea.baoapi.com/root/stu_uuos/util" ) //注册数据库表 func InitTable() { db.AutoMigrate( &entity.FmOrg{}, ) util.PrintInfo("register table success") }