diff options
Diffstat (limited to 'configuration.md')
-rw-r--r-- | configuration.md | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/configuration.md b/configuration.md index 0f6190d..c6e680e 100644 --- a/configuration.md +++ b/configuration.md @@ -126,11 +126,12 @@ its own database login, with full permissions for its database so that it may manage its own schema migrations. Once you populate the `connection-string` field in your `config.ini`, you may -use the `<module>-initdb` script to populate the schema and stamp the latest -revision for migrations (e.g., `metasrht-initdb` to set up meta.sr.ht's -database). Note that if you have not configured SSL for your PostgreSQL server, -you may have to append `?sslmode=disable` to your connection string for some -services to work. +use the `schema.sql` file to populate the database (e.g. +`psql -d meta.sr.ht -f schema.sql` to set up meta.sr.ht's database). + +Note that if you have not configured SSL for your PostgreSQL server, you may +have to append `?sslmode=disable` to your connection string for some services +to work. ## Schema Upgrades |