Mercurial > libervia-backend
comparison libervia/backend/memory/migration/env.py @ 4270:0d7bb4df2343
Reformatted code base using black.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 19 Jun 2024 18:44:57 +0200 |
parents | 4b842c1fb686 |
children |
comparison
equal
deleted
inserted
replaced
4269:64a85ce8be70 | 4270:0d7bb4df2343 |
---|---|
60 def do_run_migrations(connection): | 60 def do_run_migrations(connection): |
61 context.configure( | 61 context.configure( |
62 connection=connection, | 62 connection=connection, |
63 target_metadata=target_metadata, | 63 target_metadata=target_metadata, |
64 render_as_batch=True, | 64 render_as_batch=True, |
65 include_name=include_name | 65 include_name=include_name, |
66 ) | 66 ) |
67 | 67 |
68 with context.begin_transaction(): | 68 with context.begin_transaction(): |
69 context.run_migrations() | 69 context.run_migrations() |
70 | 70 |