summaryrefslogtreecommitdiff
path: root/tests/test_autogenerate.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-11-23 15:35:12 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2014-11-23 15:35:12 -0500
commit15376ba1d60bc2529f830e8b52fa6b2e9eac29d6 (patch)
tree35849a199b3612a453d589e3db0039c42f78c9f3 /tests/test_autogenerate.py
parent2639f8f5f85294a84414a5adeb8bcce601e8977a (diff)
downloadalembic-15376ba1d60bc2529f830e8b52fa6b2e9eac29d6.tar.gz
- The ``alembic revision`` command accepts the ``--sql`` option to
suit some very obscure use case where the ``revision_environment`` flag is set up, so that ``env.py`` is run when ``alembic revision`` is run even though autogenerate isn't specified. As this flag is otherwise confusing, error messages are now raised if ``alembic revision`` is invoked with both ``--sql`` and ``--autogenerate`` or with ``--sql`` without ``revision_environment`` being set. fixes #248
Diffstat (limited to 'tests/test_autogenerate.py')
0 files changed, 0 insertions, 0 deletions