Merge pull request #89 from HaraldNordgren/improve_documentation

Document that '-source' is a required parameter
This commit is contained in:
Dale Hui 2018-08-07 15:59:20 -07:00 committed by GitHub
commit 251bf76be4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ __[CLI Documentation](cli)__
### Basic usage:
```
$ migrate -database postgres://localhost:5432/database up 2
$ migrate -source file://path/to/migrations -database postgres://localhost:5432/database up 2
```
### Docker usage

View File

@ -78,7 +78,7 @@ Commands:
So let's say you want to run the first two migrations
```
$ migrate -database postgres://localhost:5432/database up 2
$ migrate -source file://path/to/migrations -database postgres://localhost:5432/database up 2
```
If your migrations are hosted on github