From a6eddccfe52935783aad04fceab40e0dcad4d8e6 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 259c89d..77cc905 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/cli/README.md b/cli/README.md index a2d3bba..cbdfb5f 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 file://path/to/migrations -database postgres://localhost:5432/database up 2 ``` If your migrations are hosted on github