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

Function run_migrations_offline

src/database/migrations/env.py:55–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53
54
55def run_migrations_offline() -> None:
56 context.configure(
57 url=url(),
58 target_metadata=target_metadata,
59 literal_binds=True,
60 dialect_opts={"paramstyle": "named"},
61 compare_type=True,
62 compare_server_default=True,
63 )
64
65 with context.begin_transaction():
66 context.run_migrations()
67
68
69def do_run_migrations(connection: Connection) -> None:

Callers 1

env.pyFile · 0.85

Calls 1

urlFunction · 0.85

Tested by

no test coverage detected