]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Use env in history when revision_history=true
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 6 Sep 2017 14:20:39 +0000 (10:20 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 6 Sep 2017 14:20:39 +0000 (10:20 -0400)
commit4effc8124fa2ad5aab42119e4e7aa1452982d257
tree38d9976703a616d90fca92523b551a7ca2069160
parent8a6e65544637a29131c90a6f9e957b1de971f574
Use env in history when revision_history=true

The ``alembic history`` command will now make use of the revision
environment ``env.py`` unconditionally if the ``revision_environment``
configuration flag is set to True.  Previously, the environment would
only be invoked if the history specification were against a database-stored
revision token.

Change-Id: I2f9dc2554c8a4523f93248859587e8e276fe4d4a
Fixes: #447
alembic/command.py
docs/build/tutorial.rst
docs/build/unreleased/447.rst [new file with mode: 0644]
tests/test_command.py