diff options
-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 |