summaryrefslogtreecommitdiff
path: root/alembic/templates/pylons/env.py
diff options
context:
space:
mode:
Diffstat (limited to 'alembic/templates/pylons/env.py')
-rw-r--r--alembic/templates/pylons/env.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/alembic/templates/pylons/env.py b/alembic/templates/pylons/env.py
index 70eea4e..5ad9fd5 100644
--- a/alembic/templates/pylons/env.py
+++ b/alembic/templates/pylons/env.py
@@ -46,7 +46,8 @@ def run_migrations_offline():
"""
context.configure(
- url=meta.engine.url, target_metadata=target_metadata)
+ url=meta.engine.url, target_metadata=target_metadata,
+ literal_binds=True)
with context.begin_transaction():
context.run_migrations()