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

Function upgrade

tortoise/cli/cli.py:557–571  ·  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

555
556
557async def upgrade(
558 ctx: CLIContext,
559 app_label: str | None,
560 migration: str | None,
561 fake: bool,
562 dry_run: bool,
563) -> None:
564 await _run_migrate(
565 ctx,
566 app_label,
567 migration,
568 fake=fake,
569 dry_run=dry_run,
570 direction="forward",
571 )
572
573
574async def downgrade(

Callers 1

_run_upgradeFunction · 0.85

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…