From 9a596397ca63c03d4bf84f1e9bf9ceedf6de4111 Mon Sep 17 00:00:00 2001 From: Vingurzhou Date: Mon, 8 Aug 2022 11:28:55 +0800 Subject: [PATCH] Update 1599190683659_tables.go --- cmd/migrate/migration/version/1599190683659_tables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/migrate/migration/version/1599190683659_tables.go b/cmd/migrate/migration/version/1599190683659_tables.go index 64aa9706..5862dae3 100644 --- a/cmd/migrate/migration/version/1599190683659_tables.go +++ b/cmd/migrate/migration/version/1599190683659_tables.go @@ -17,7 +17,7 @@ func init() { func _1599190683659Tables(db *gorm.DB, version string) error { return db.Transaction(func(tx *gorm.DB) error { - err := tx.Set("gorm:table_options", "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ").Migrator().AutoMigrate( + err := tx.Set("gorm:table_options", "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4").Migrator().AutoMigrate( new(models.CasbinRule), new(models.SysDept), new(models.SysConfig),