Merge branch 'master' of github.com:go-admin-team/go-admin

This commit is contained in:
zhangwenjian committed 2022-08-08 16:28:34 +08:00
commit 0d47fb4e68
9 files changed
+247 -80

No files matched your search

@@ -17,7 +17,7 @@ func init() {
func _1599190683659Tables(db *gorm.DB, version string) error {
return db.Transaction(func(tx *gorm.DB) error {
err := tx.Debug().Migrator().AutoMigrate(
err := tx.Set("gorm:table_options", "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4").Migrator().AutoMigrate(
new(models.CasbinRule),
new(models.SysDept),
new(models.SysConfig),