@@ -6,7 +6,6 @@ package migrate
66import (
77 "github.com/spf13/cobra"
88
9- "github.com/ory/kratos/cmd/cliclient"
109 "github.com/ory/kratos/driver"
1110 "github.com/ory/x/configx"
1211 "github.com/ory/x/popx"
@@ -31,18 +30,18 @@ func RegisterCommandRecursive(parent *cobra.Command) {
3130
3231func NewMigrateSQLDownCmd (opts ... driver.RegistryOption ) * cobra.Command {
3332 return popx .NewMigrateSQLDownCmd (func (cmd * cobra.Command , args []string ) error {
34- return cliclient . NewMigrateHandler ().MigrateSQLDown (cmd , args , opts ... )
33+ return NewMigrateHandler ().MigrateSQLDown (cmd , args , opts ... )
3534 })
3635}
3736
3837func NewMigrateSQLUpCmd (opts ... driver.RegistryOption ) * cobra.Command {
3938 return popx .NewMigrateSQLUpCmd (func (cmd * cobra.Command , args []string ) error {
40- return cliclient . NewMigrateHandler ().MigrateSQLUp (cmd , args , opts ... )
39+ return NewMigrateHandler ().MigrateSQLUp (cmd , args , opts ... )
4140 })
4241}
4342
4443func NewMigrateSQLStatusCmd (opts ... driver.RegistryOption ) * cobra.Command {
4544 return popx .NewMigrateSQLStatusCmd (func (cmd * cobra.Command , args []string ) error {
46- return cliclient . NewMigrateHandler ().MigrateSQLStatus (cmd , args , opts ... )
45+ return NewMigrateHandler ().MigrateSQLStatus (cmd , args , opts ... )
4746 })
4847}
0 commit comments