From a3d13cc9da91540127ede70b927528abae116a1c Mon Sep 17 00:00:00 2001 From: alexander taylor Date: Fri, 4 Jul 2025 09:12:45 -0700 Subject: [PATCH] Update README.md to use m.Up() Use m.Up() instead of m.Steps(2) in first example to show typical usage, and for consistency with the example below --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cb06dd421..7ba59abc4 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ func main() { m, err := migrate.New( "github://mattes:personal-access-token@mattes/migrate_test", "postgres://localhost:5432/database?sslmode=enable") - m.Steps(2) + m.Up() // or m.Steps(2) if you want to explicitly set the number of migrations to run } ```