MCPcopy Create free account
hub / github.com/dbunt1tled/python-fast-api / do_run_migrations

Function do_run_migrations

src/database/migrations/env.py:69–78  ·  view source on GitHub ↗
(connection: Connection)

Source from the content-addressed store, hash-verified

67
68
69def do_run_migrations(connection: Connection) -> None:
70 context.configure(
71 connection=connection,
72 target_metadata=target_metadata,
73 compare_type=True,
74 compare_server_default=True,
75 )
76
77 with context.begin_transaction():
78 context.run_migrations()
79
80
81async def run_async_migrations() -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected