Skip to content

Commit

Permalink
Update env.py
Browse files Browse the repository at this point in the history
  • Loading branch information
UltimaHoarder committed Jan 9, 2021
1 parent 1982774 commit cd42814
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion database/databases/messages/alembic/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ def run_migrations_online():

with connectable.connect() as connection:
context.configure(
connection=connection, target_metadata=target_metadata
connection=connection, target_metadata=target_metadata,
render_as_batch=True,
compare_type=True,
)

with context.begin_transaction():
Expand Down

0 comments on commit cd42814

Please sign in to comment.