This commit is contained in:
parent
f2e60182df
commit
eae829138d
@ -25,6 +25,7 @@ func NewController(client *coach_client.Client, db *gorm.DB) *Controller {
|
|||||||
client: client,
|
client: client,
|
||||||
db: db,
|
db: db,
|
||||||
}
|
}
|
||||||
|
ctl.AutoMigrate()
|
||||||
ctl.LoadOption()
|
ctl.LoadOption()
|
||||||
return ctl
|
return ctl
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user