summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alembic/environment.py2
-rw-r--r--docs/build/changelog.rst8
2 files changed, 9 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..9a3e092 100644
--- a/docs/build/changelog.rst
+++ b/docs/build/changelog.rst
@@ -5,6 +5,14 @@ Changelog
==========
.. changelog::
:version: 0.7.1
+ :released: December 3, 2014
+
+ .. 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