diff --git a/up.go b/up.go index 0bec004..0c79ec5 100644 --- a/up.go +++ b/up.go @@ -21,6 +21,7 @@ func Up(db *sql.DB, dir string) error { if err != nil { if err == ErrNoNextVersion { fmt.Printf("goose: no migrations to run. current version: %d\n", current) + return nil } return err }