Skip to content

Commit

Permalink
readme: tablename example wasn't clear enough
Browse files Browse the repository at this point in the history
Improve TableName usage explanation on README
  • Loading branch information
lopezator committed Nov 2, 2019
1 parent f29a4c6 commit beba8dc
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 @@ -77,7 +77,7 @@ func main() {
```

Notes on examples above:
- Migrator creates/manages a table named `migrations` to keep track of the applied versions. However, if want to customize the table name `TableName("my_migrations")` can be also used.
- Migrator creates/manages a table named `migrations` to keep track of the applied versions. However, if want to customize the table name `migrator.TableName("my_migrations")` can be passed to `migrator.New` function as an additional option.

### Looking for more examples?

Expand Down

0 comments on commit beba8dc

Please sign in to comment.