From: Ant Zucaro <azucaro@gmail.com>
Date: Mon, 27 May 2024 19:10:30 +0000 (-0400)
Subject: Update README with -dir flag.
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=88086a335863995dd713c14d6714787443e6e226;p=xonotic%2Fxonstatdb.git

Update README with -dir flag.
---

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!