From 035e60873fe962ac7f2c4731484810feeeb48adc Mon Sep 17 00:00:00 2001 From: Harald Nordgren Date: Sun, 5 Aug 2018 23:43:55 +0200 Subject: [PATCH] Document that '-source' is a required parameter --- README.md | 2 +- cli/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a45704c8..e2d657523 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,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 diff --git a/cli/README.md b/cli/README.md index a2d3bbaf0..df93ef1fa 100644 --- a/cli/README.md +++ b/cli/README.md @@ -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 scheme://path -database postgres://localhost:5432/database up 2 ``` If your migrations are hosted on github