Skip to content

Commit

Permalink
fix small mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
TECHNOFAB11 committed Jan 7, 2022
1 parent a55233c commit a5b9283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dbmate/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ func (db *DB) migrate(drv Driver) error {
}
defer dbutil.MustClose(sqlDB)

applied, err := drv.SelectMigrations(sqlDB, db.Limit)
applied, err := drv.SelectMigrations(sqlDB, -1)
if err != nil {
return err
}
Expand Down

0 comments on commit a5b9283

Please sign in to comment.