diff --git a/redo.go b/redo.go index 183c88f..2ec7a32 100644 --- a/redo.go +++ b/redo.go @@ -20,12 +20,7 @@ func Redo(db *sql.DB, dir string) error { return err } - previous, err := migrations.Next(currentVersion) - if err != nil { - return err - } - - if err := previous.Up(db); err != nil { + if err := current.Down(db); err != nil { return err }