From 88086a335863995dd713c14d6714787443e6e226 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Mon, 27 May 2024 15:10:30 -0400 Subject: [PATCH] Update README with -dir flag. --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c451ab9..3564b28 100644 --- a/README.md +++ b/README.md @@ -61,10 +61,13 @@ Create the plpgsql language, if it doesn't exist: ## Initialize -Initial schema setup and subsequent migrations for XonStatDB are handled using [goose][goose]. You may want to familiarize yourself with that tool before proceeding. +Initial schema setup and subsequent migrations for XonStatDB are handled using [goose][goose]. +You may want to familiarize yourself with that tool before proceeding. +All migrations are located in the `migrations` directory of this repo, so a typical invocation will +look like this: ``` -goose postgres "user=xonstat host=localhost dbname=xonstatdb sslmode=disable password=$PASSWORD" up +goose -dir migrations postgres "user=xonstat host=localhost dbname=xonstatdb sslmode=disable password=$PASSWORD" up ``` That's it! -- 2.39.2