From 38fab4c9d395148fb76cd4dad232d1621494ffd7 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 3 Dec 2014 15:49:58 -0500 Subject: - 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. --- alembic/environment.py | 2 +- docs/build/changelog.rst | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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 @@ -6,6 +6,13 @@ Changelog .. 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 -- cgit v1.2.1