From da72428fa0a1297d22e28a5ea98060ded92b96ee Mon Sep 17 00:00:00 2001 From: Aditya Sharma <82082352+adityassharma-ss@users.noreply.github.com> Date: Tue, 4 Jun 2024 19:25:09 +0530 Subject: [PATCH] Update README.md if you want to explicitly set the number of migrations to run, the README.md needs a correction, there should "Steps()" and not Step() --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 975348685..f6d10b80a 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 } ```