feat AutoMigrate
All checks were successful
Build image / build (push) Successful in 1m44s

This commit is contained in:
timerzz 2024-05-14 17:15:27 +08:00
parent f2e60182df
commit eae829138d

View File

@ -25,6 +25,7 @@ func NewController(client *coach_client.Client, db *gorm.DB) *Controller {
client: client,
db: db,
}
ctl.AutoMigrate()
ctl.LoadOption()
return ctl
}