Skip to content

Commit da72428

Browse files
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()
1 parent 04b36eb commit da72428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func main() {
145145
m, err := migrate.NewWithDatabaseInstance(
146146
"file:///migrations",
147147
"postgres", driver)
148-
m.Up() // or m.Step(2) if you want to explicitly set the number of migrations to run
148+
m.Up() // or m.Steps(2) if you want to explicitly set the number of migrations to run
149149
}
150150
```
151151

0 commit comments

Comments
 (0)