aboutsummaryrefslogtreecommitdiffstats
path: root/installation.md
diff options
context:
space:
mode:
authorThorben Günther <admin@xenrox.net>2020-01-27 21:56:37 +0100
committerDrew DeVault <sir@cmpwn.com>2020-01-28 09:25:44 -0500
commit5ad45d71d6fbc92d4d9d91207e3fbe6d89ea245a (patch)
treeb6d96aa246f9bebb272e37e6b1d62a62e6e59fe6 /installation.md
parentd8471f3a6ea3cdc22789e3d80cef88e08d93e216 (diff)
downloadsr.ht-docs-5ad45d71d6fbc92d4d9d91207e3fbe6d89ea245a.tar.gz
installation: Mention both migrate steps
Diffstat (limited to 'installation.md')
-rw-r--r--installation.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/installation.md b/installation.md
index a0c9364..8ff64b4 100644
--- a/installation.md
+++ b/installation.md
@@ -103,11 +103,13 @@ less privileged user.
## Schema Upgrades
We use [alembic](http://alembic.zzzcomputing.com/en/latest/) to manage schema
-migrations. We source your alembic config from your main sr.ht `config.ini` - no
-need to write an `alembic.ini` file. Run `<service>-migrate stamp head` once to
-tell alembic the schema is up-to-date. Future upgrades will be managed
-automatically by the package, or if you're using the source code you can run
-`<service>-migrate upgrade head` when you pull the latest version down.
+migrations. We source your alembic config from your main sr.ht `config.ini` -
+no need to write an `alembic.ini` file. Run `srht-migrate <service> stamp head
+&& <service>-migrate stamp head` once to tell alembic the schema is up-to-date
+(e.g. `srht-migrate man.sr.ht stamp head && mansrht-migrate stamp head`).
+Future upgrades will be managed automatically by the package, or if you're
+using the source code you can run `srht-migrate <service> upgrade head &&
+<service>-migrate upgrade head` when you pull the latest version down.
## Becoming admin