diff options
-rw-r--r-- | installation.md | 12 |
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 |