diff --git a/README.md b/README.md index e7b67c31a..a79cc7b76 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ func main() { m, err := migrate.NewWithDatabaseInstance( "file:///migrations", "postgres", driver) - m.Up() // or m.Step(2) if you want to explicitly set the number of migrations to run + m.Up() // or m.Steps(2) if you want to explicitly set the number of migrations to run } ```