~sircmpwn/sr.ht-docs

5ad45d71d6fbc92d4d9d91207e3fbe6d89ea245a — Thorben G√ľnther 11 months ago d8471f3
installation: Mention both migrate steps
1 files changed, 7 insertions(+), 5 deletions(-)

M installation.md
M installation.md => installation.md +7 -5
@@ 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