Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjoseph08 committed Oct 17, 2024
1 parent 7ce1e54 commit fc6caea
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ files to be saved in (which will be the same directory of the main package, e.g.
`example`), an instance of `*pg.DB`, and `os.Args`; and log any potential errors
that could be returned.

Once this has been set up, then you can use the `create`, `migrate`, `status`, `rollback`,
`help` commands like so:
You can also call `migrations.RunWithOptions` to configure the way that the
migrations run (e.g. customize the name of the migration tables).

Once this has been set up, then you can use the `create`, `migrate`, `status`,
`rollback`, `help` commands like so:

```
$ go run example/*.go create create_users_table
Expand Down

0 comments on commit fc6caea

Please sign in to comment.