Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "rollback", Short: "Rollback the most recent database migration", Long: `Rollback applied database migrations. By default, it rolls back the latest migration. You can specify the number of steps to rollback using the '--step' or '-s' flag.`, Run: func(cmd *cobra.Command, args []string) { cfg, err := config.Load() if err != nil { fmt.Printf("❌ Failed to load config file at %s: %s\n", config.Path, err) os.Exit(1) } Run(cfg, step) }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.