Skip to content

Commit cd7a22a

Browse files
committed
fix: migrations
1 parent 18d98b2 commit cd7a22a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

cli/cmd/migrate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var migrationArgs struct {
1212

1313
func init() {
1414
migrateCmd.PersistentFlags().StringVar(&migrationArgs.undoTo, "undo-to", "", "Undo to specific version")
15-
migrateCmd.PersistentFlags().StringVar(&migrationArgs.undoTo, "apply-to", "", "Apply to specific version")
15+
migrateCmd.PersistentFlags().StringVar(&migrationArgs.applyTo, "apply-to", "", "Apply to specific version")
1616

1717
rootCmd.AddCommand(migrateCmd)
1818
}

db/Migration.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ func GetMigrations(dialect string) []Migration {
2626
if dialect == util.DbDriverSQLite {
2727
return []Migration{
2828
{Version: "2.15.1.sqlite"},
29-
{Version: "2.15.1"},
3029
{Version: "2.15.2"},
3130
{Version: "2.15.3"},
3231
{Version: "2.15.4"},

0 commit comments

Comments
 (0)