From 42766096ee09e6cb8aec38dfbebf6dce61453e36 Mon Sep 17 00:00:00 2001 From: Josh Fyne Date: Fri, 7 Oct 2016 15:52:55 -0400 Subject: [PATCH] Fixes error on successful up --- up.go | 1 + 1 file changed, 1 insertion(+) 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 }