]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
- The ``alembic revision`` command accepts the ``--sql`` option to
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 23 Nov 2014 20:35:12 +0000 (15:35 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 23 Nov 2014 20:35:12 +0000 (15:35 -0500)
commit15376ba1d60bc2529f830e8b52fa6b2e9eac29d6
tree35849a199b3612a453d589e3db0039c42f78c9f3
parent2639f8f5f85294a84414a5adeb8bcce601e8977a
- 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
alembic/command.py
docs/build/changelog.rst
tests/test_command.py