]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
- The ``render_as_batch`` flag was inadvertently hardcoded to ``True``,
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 3 Dec 2014 20:49:58 +0000 (15:49 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 3 Dec 2014 20:49:58 +0000 (15:49 -0500)
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
docs/build/changelog.rst

index adf6ac62e27a676ee1ceedf3563c213265a57c74..45983d14e4508b12153fce6f93c18fd8800d6151 100644 (file)
@@ -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
index 7c66f58df8457d5e6025bc863f2a54b4a86fd015..5f9c704f503b5147498bdd709718398c7c0bb642 100644 (file)
@@ -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