diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-12-03 15:49:58 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-12-03 15:49:58 -0500 |
commit | 38fab4c9d395148fb76cd4dad232d1621494ffd7 (patch) | |
tree | 12fba0c7b15202e564c5110452076a65dcc3b786 | |
parent | 6d5155de3491b9c52c673de5d07920872cdca808 (diff) | |
download | alembic-38fab4c9d395148fb76cd4dad232d1621494ffd7.tar.gz |
- The ``render_as_batch`` flag was inadvertently hardcoded to ``True``,
so all autogenerates were spitting out batch mode...this has been
fixed so that batch mode again is only when selected in env.py.
-rw-r--r-- | alembic/environment.py | 2 | ||||
-rw-r--r-- | docs/build/changelog.rst | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/alembic/environment.py b/alembic/environment.py index adf6ac6..45983d1 100644 --- a/alembic/environment.py +++ b/alembic/environment.py @@ -694,7 +694,7 @@ class EnvironmentContext(object): opts['include_symbol'] = include_symbol opts['include_object'] = include_object opts['include_schemas'] = include_schemas - opts['render_as_batch'] = True #render_as_batch + opts['render_as_batch'] = render_as_batch opts['upgrade_token'] = upgrade_token opts['downgrade_token'] = downgrade_token opts['sqlalchemy_module_prefix'] = sqlalchemy_module_prefix diff --git a/docs/build/changelog.rst b/docs/build/changelog.rst index 7c66f58..5f9c704 100644 --- a/docs/build/changelog.rst +++ b/docs/build/changelog.rst @@ -7,6 +7,13 @@ Changelog :version: 0.7.1 .. change:: + :tags: bug, batch + + The ``render_as_batch`` flag was inadvertently hardcoded to ``True``, + so all autogenerates were spitting out batch mode...this has been + fixed so that batch mode again is only when selected in env.py. + + .. change:: :tags: feature, autogenerate :tickets: 178 :pullreq: bitbucket:32 |