MCPcopy Index your code
hub / github.com/tortoise/tortoise-orm / migrate

Function migrate

tortoise/cli/cli.py:547–554  ·  view source on GitHub ↗
(
    ctx: CLIContext,
    app_label: str | None,
    migration: str | None,
    fake: bool,
    dry_run: bool,
)

Source from the content-addressed store, hash-verified

545
546
547async def migrate(
548 ctx: CLIContext,
549 app_label: str | None,
550 migration: str | None,
551 fake: bool,
552 dry_run: bool,
553) -> None:
554 await _run_migrate(ctx, app_label, migration, fake=fake, dry_run=dry_run)
555
556
557async def upgrade(

Callers 1

_run_migrate_cmdFunction · 0.70

Calls 1

_run_migrateFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…