Skip to content

Commit

Permalink
feat: remove mysql engine innodb
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <gaius.qi@gmail.com>
  • Loading branch information
gaius-qi committed Aug 5, 2021
1 parent e8c1c7e commit 5c046fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/database/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func newMyqsl(cfg *config.MysqlConfig) (*gorm.DB, error) {
}

func migrate(db *gorm.DB) error {
return db.Set("gorm:table_options", "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=Dynamic").AutoMigrate(
return db.Set("gorm:table_options", "DEFAULT CHARSET=utf8mb4 ROW_FORMAT=Dynamic").AutoMigrate(
&model.CDNCluster{},
&model.CDN{},
&model.SchedulerCluster{},
Expand Down

0 comments on commit 5c046fd

Please sign in to comment.