Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document that '-source' is a required parameter #89

Merged
merged 1 commit into from Aug 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cli/README.md
Expand Up @@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use -source file://path/to/migrations

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dhui Updated.

$ migrate -source file://path/to/migrations -database postgres://localhost:5432/database up 2
```

If your migrations are hosted on github
Expand Down