From 5ad45d71d6fbc92d4d9d91207e3fbe6d89ea245a Mon Sep 17 00:00:00 2001 From: Thorben Günther Date: Mon, 27 Jan 2020 21:56:37 +0100 Subject: installation: Mention both migrate steps --- installation.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'installation.md') 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 `-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 -`-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 stamp head +&& -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 upgrade head && +-migrate upgrade head` when you pull the latest version down. ## Becoming admin -- cgit