]> git.rm.cloudns.org Git - xonotic/xonstatdb.git/commitdiff
Update README with -dir flag.
authorAnt Zucaro <azucaro@gmail.com>
Mon, 27 May 2024 19:10:30 +0000 (15:10 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Mon, 27 May 2024 19:10:30 +0000 (15:10 -0400)
README.md

index c451ab9105cfffc004097cc61f716db1feb4305c..3564b28947792648113cde8e02f84aa09ab4ceb0 100644 (file)
--- 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!