From f46bf58502782b8cef01ac326e6f7feef6b3e560 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 4 Mar 2019 15:45:28 -0700 Subject: Update alembic docs on installation.md --- installation.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'installation.md') diff --git a/installation.md b/installation.md index 589611b..2cc1cc7 100644 --- a/installation.md +++ b/installation.md @@ -94,15 +94,11 @@ less privileged user. ## Schema Upgrades We use [alembic](http://alembic.zzzcomputing.com/en/latest/) to manage schema -migrations. A sample `alembic.ini` is provided (`alembic.ini.example` from -source and `/etc/sr.ht/alembic/subdomain.ini.example` from packages), which you -should modify to suit your needs - you will probably only need to set the -connection string. - -Run `alembic 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 `alembic 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 `alembic 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 `alembic upgrade +head` when you pull the latest version down. ## Becoming admin -- cgit