Skip to content

Commit

Permalink
chore: synchronize workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Nov 27, 2024
1 parent 9cb7782 commit 7251df7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion cmd/migrate_sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
package cmd

import (
"github.com/spf13/cobra"

"github.com/ory/hydra/v2/cmd/cli"
"github.com/ory/hydra/v2/driver"
"github.com/ory/x/configx"
"github.com/ory/x/servicelocatorx"
"github.com/spf13/cobra"
)

func NewMigrateSQLCmd(slOpts []servicelocatorx.Option, dOpts []driver.OptionsModifier, cOpts []configx.OptionModifier) *cobra.Command {
Expand Down
3 changes: 2 additions & 1 deletion cmd/migrate_sql_down.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
package cmd

import (
"github.com/spf13/cobra"

"github.com/ory/hydra/v2/cmd/cli"
"github.com/ory/hydra/v2/driver"
"github.com/ory/x/configx"
"github.com/ory/x/popx"
"github.com/ory/x/servicelocatorx"
"github.com/spf13/cobra"
)

func NewMigrateSQLDownCmd(slOpts []servicelocatorx.Option, dOpts []driver.OptionsModifier, cOpts []configx.OptionModifier) *cobra.Command {
Expand Down
5 changes: 3 additions & 2 deletions cmd/migrate_sql_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
package cmd

import (
"github.com/spf13/cobra"

"github.com/ory/hydra/v2/cmd/cli"
"github.com/ory/hydra/v2/driver"
"github.com/ory/x/configx"
"github.com/ory/x/popx"
"github.com/ory/x/servicelocatorx"
"github.com/spf13/cobra"
)

func NewMigrateSQLStatusCmd(slOpts []servicelocatorx.Option, dOpts []driver.OptionsModifier, cOpts []configx.OptionModifier) *cobra.Command {
return popx.NewMigrateStatusCmd("hydra", cli.NewHandler(slOpts, dOpts, cOpts).Migration.MigrateStatus)
return popx.NewMigrateSQLStatusCmd("hydra", cli.NewHandler(slOpts, dOpts, cOpts).Migration.MigrateStatus)
}
3 changes: 2 additions & 1 deletion cmd/migrate_sql_up.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
package cmd

import (
"github.com/spf13/cobra"

"github.com/ory/hydra/v2/cmd/cli"
"github.com/ory/hydra/v2/driver"
"github.com/ory/x/configx"
"github.com/ory/x/popx"
"github.com/ory/x/servicelocatorx"
"github.com/spf13/cobra"
)

func NewMigrateSQLUpCmd(slOpts []servicelocatorx.Option, dOpts []driver.OptionsModifier, cOpts []configx.OptionModifier) *cobra.Command {
Expand Down

0 comments on commit 7251df7

Please sign in to comment.