diff --git a/cmd/goose/main.go b/cmd/goose/main.go index fbbead4..c59079e 100644 --- a/cmd/goose/main.go +++ b/cmd/goose/main.go @@ -117,7 +117,6 @@ Commands: down-to VERSION Roll back to a specific VERSION redo Re-run the latest migration reset Roll back all migrations - refresh Roll back all migrations and apply all available migrations again status Dump the migration status for the current DB version Print the current version of the database create NAME [sql|go] Creates new migration file with next version diff --git a/goose.go b/goose.go index 330d5f9..51ca6ec 100644 --- a/goose.go +++ b/goose.go @@ -72,13 +72,6 @@ func Run(command string, db *sql.DB, dir string, args ...string) error { if err := Reset(db, dir); err != nil { return err } - case "refresh": - if err := Reset(db, dir); err != nil { - return err - } - if err := Up(db, dir); err != nil { - return err - } case "status": if err := Status(db, dir); err != nil { return err