summaryrefslogtreecommitdiffhomepage
path: root/migrations/env.py
diff options
context:
space:
mode:
Diffstat (limited to 'migrations/env.py')
-rw-r--r--migrations/env.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/migrations/env.py b/migrations/env.py
index beddf9710..e591f1a9f 100644
--- a/migrations/env.py
+++ b/migrations/env.py
@@ -110,8 +110,6 @@ def run_migrations_online():
elif bind.engine.name == 'postgresql':
bind.execute(text("SET CONSTRAINTS ALL IMMEDIATE;"))
- bind.close()
-
if context.is_offline_mode():
run_migrations_offline()