mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 13:47:15 +08:00
fix: cli数据库迁移
This commit is contained in:
@@ -47,6 +47,7 @@ func initCli() (*app.Cli, error) {
|
||||
cliService := service.NewCliService(koanf, db, appRepo, cacheRepo, userRepo, settingRepo, backupRepo, websiteRepo, databaseServerRepo)
|
||||
cli := route.NewCli(cliService)
|
||||
command := bootstrap.NewCli(cli)
|
||||
appCli := app.NewCli(command)
|
||||
gormigrate := bootstrap.NewMigrate(db)
|
||||
appCli := app.NewCli(command, gormigrate)
|
||||
return appCli, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user