Skip to main content

Module plan

Module plan 

Source
Expand description

Pure migration planner.

Lowers a validated MigrationGraph and applied-state into an ordered ExecutionPlan of ExecutionSteps, each carrying its TxType and the executable TypeQL to run. No database connection, no async, no TypeDB driver is touched here.

Structs§

ExecutionPlan
Ordered execution plan produced by plan.
ExecutionStep
One executable step within a migration.
MigrationExecution
One migration scheduled for execution, together with its assembled steps.

Enums§

MigrationAction
Whether a migration execution is an apply or a rollback.
OperationKind
Authored operation kind from which an execution step was lowered.
StepKind
The kind of execution step, controlling how the executor dispatches it.

Functions§

plan
Produce an ordered ExecutionPlan from a validated graph and applied state.