mirror of https://github.com/status-im/migrate.git
Merge pull request #89 from HaraldNordgren/improve_documentation
Document that '-source' is a required parameter
This commit is contained in:
commit
251bf76be4
|
@ -84,7 +84,7 @@ __[CLI Documentation](cli)__
|
||||||
### Basic usage:
|
### 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
|
### Docker usage
|
||||||
|
|
|
@ -78,7 +78,7 @@ Commands:
|
||||||
So let's say you want to run the first two migrations
|
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
|
If your migrations are hosted on github
|
||||||
|
|
Loading…
Reference in New Issue