Skip to content

Commit

Permalink
add preversion
Browse files Browse the repository at this point in the history
  • Loading branch information
nonetheless authored and nonetheless committed Nov 25, 2019
1 parent 91cefe6 commit ad46a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/migrate/migrate_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func (mig *Migrate) downgrade() error {
if err != nil {
return err
}
version.Version = mig.destVersion
version.Version = task.PreVersion()
mig.db.Save(&version)
break
}
Expand Down

0 comments on commit ad46a5c

Please sign in to comment.