Skip to content

Commit

Permalink
Merge pull request #1101 from adityassharma-ss/patch-1
Browse files Browse the repository at this point in the history
CORRECTION DONE near m.Step(2) if you want to explicitly set the number of migrations to run
  • Loading branch information
dhui authored Sep 8, 2024
2 parents 67c71f9 + da72428 commit d5eb594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
```

Expand Down

0 comments on commit d5eb594

Please sign in to comment.