From: Madison Swain-Bowden Date: Thu, 11 Nov 2021 00:14:43 +0000 (-0800) Subject: Update documentation about alembic configuration path X-Git-Tag: rel_1_7_5~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6af3fc6b27e504125bc04ce0e6a180987577aa03;p=thirdparty%2Fsqlalchemy%2Falembic.git Update documentation about alembic configuration path --- diff --git a/docs/build/tutorial.rst b/docs/build/tutorial.rst index eaa0e4ae..cf3fe192 100644 --- a/docs/build/tutorial.rst +++ b/docs/build/tutorial.rst @@ -118,9 +118,9 @@ Editing the .ini File ===================== Alembic placed a file ``alembic.ini`` into the current directory. This is a file that the ``alembic`` -script looks for when invoked. This file can be anywhere, either in the same directory -from which the ``alembic`` script will normally be invoked, or if in a different directory, can -be specified by using the ``--config`` option to the ``alembic`` runner. +script looks for when invoked. This file can exist in a different directory, with the location to it +specified by either the ``--config`` option for the ``alembic`` runner or the ``ALEMBIC_CONFIG`` +environment variable (the former takes precedence). The file generated with the "generic" configuration looks like::