summaryrefslogtreecommitdiff
path: root/zuul/driver/sql/alembic/env.py
diff options
context:
space:
mode:
Diffstat (limited to 'zuul/driver/sql/alembic/env.py')
-rw-r--r--zuul/driver/sql/alembic/env.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/zuul/driver/sql/alembic/env.py b/zuul/driver/sql/alembic/env.py
index da7b3207f..17b67805e 100644
--- a/zuul/driver/sql/alembic/env.py
+++ b/zuul/driver/sql/alembic/env.py
@@ -53,7 +53,8 @@ def run_migrations_online():
connectable = engine_from_config(
config.get_section(config.config_ini_section),
prefix='sqlalchemy.',
- poolclass=pool.NullPool)
+ poolclass=pool.NullPool,
+ future=True)
# we can get the table prefix via the tag object
tag = context.get_tag_argument()