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.

14 lines
227 B

3 years ago
  1. package db
  2. import (
  3. "gitea.baoapi.com/root/stu_uuos/entity"
  4. "gitea.baoapi.com/root/stu_uuos/util"
  5. )
  6. //注册数据库表
  7. func InitTable() {
  8. db.AutoMigrate(
  9. &entity.FmOrg{},
  10. )
  11. util.PrintInfo("register table success")
  12. }