Document that '-source' is a required parameter

This commit is contained in:
Harald Nordgren 2018-08-05 23:43:55 +02:00
parent 3bd43bedad
commit a6eddccfe5
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