Browse Source

Use render_as_batch as default

This will only have an affect on SQLite
Peter Justin 8 years ago
parent
commit
b4d4c14839
1 changed files with 3 additions and 0 deletions
  1. 3 0
      flaskbb/configs/default.py

+ 3 - 0
flaskbb/configs/default.py

@@ -76,6 +76,9 @@ class DefaultConfig(object):
         'script_location': os.path.join(basedir, "migrations"),
         'version_locations': get_alembic_branches()
     }
+    ALEMBIC_CONTEXT = {
+        'render_as_batch': True
+    }
 
     # Security
     # ------------------------------