From 4e8485810efc273c05d2978c5fc0ed08b8692d3a Mon Sep 17 00:00:00 2001 From: anon Date: Thu, 11 Apr 2019 13:14:04 -0400 Subject: [PATCH] Add note to readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3315847d..4bb63f69 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,7 @@ Lastly, ensure that `GOPATH` is defined in your shell. If necessary, `GOPATH` ca 1. `createdb vulcanize_public` 1. `cd $GOPATH/src/github.com/vulcanize/vulcanizedb` 1. Run the migrations: `make migrate HOST_NAME=localhost NAME=vulcanize_public PORT=5432` + - There is an optional var `USER=username` if the database user is not the default user `postgres` - To rollback a single step: `make rollback NAME=vulcanize_public` - To rollback to a certain migration: `make rollback_to MIGRATION=n NAME=vulcanize_public` - To see status of migrations: `make migration_status NAME=vulcanize_public`