Expand description
TypeDB-backed fenced execution storage for V2 schema migrations.
This public leaf crate is the only layer that knows both the provider-neutral migration execution contracts and the TypeDB ORM. It does not extend or import the archival V1 migration state store.
Most embedders should use TypeDbMigrationRunner. Lower-level composition
must construct one TypeDbExecutionBinding and reuse it for both
TypeDbMigrationStore and TypeDbMigrationProvider; leases from an
independent or unbound execution binding fail before TypeDB I/O.
Structs§
- Managed
Database Pair Administrator - Bound administration authority for exactly one managed database and derived journal.
- Managed
Database Pair Deletion Plan - Explicit single-use destructive admission bound to one inspected pair state.
- Partitioned
Declared Schema - One parsed TypeDB export partitioned into managed-user and internal facts.
- Type
DbExecution Binding - One validated, process-local TypeDB migration execution binding.
- Type
DbMigration Provider - TypeDB 3.12.1 execution provider bound to one managed/journal pair and context.
- Type
DbMigration Runner - Apply orchestrator bound to one managed/journal database pair.
- Type
DbMigration Store - TypeDB-backed lease and journal store bound to verified history evidence.
- Verified
Migration Catalog - Verified historical manifest catalog used to rederive applied records.
Enums§
- Live
Query Control Presence - Whether a live query schema carries the complete managed-database fence partition.
- Managed
Database Pair Create Outcome - Normalized outcome of creating the managed member of one verified pair.
- Managed
Database Pair Delete Outcome - Terminal result of one explicitly admitted pair deletion.
- Managed
Database Pair State - Read-only classification of one exact bound managed/journal pair.
- Migration
Directory Apply Error - Failure while orchestrating one directory apply pass.
- Migration
Directory Apply Outcome - Result of one directory apply pass.
- Migration
Directory Rollback Outcome - Result of one directory rollback pass.
Constants§
- JOURNAL_
CONTROL_ SCHEMA_ TYPEQL - Exact TypeDB 3 authoritative lease and journal schema.
- MANAGED_
FENCE_ SCHEMA_ TYPEQL - Exact TypeDB 3 fence-mirror schema installed in a managed database.
- TYPEBRIDGE_
INTERNAL_ PREFIX - Reserved prefix for every V2 migration control type.
Functions§
- control_
schema_ labels - Return every frozen control-schema label in canonical order.
- derived_
journal_ database_ name - Derive the one-to-one companion journal database name.
- digest_
legacy_ applied_ records - Digest semantic rows from the released applied ledger.
- execute_
catalog_ apply_ plan - Execute one catalog-authorized forward plan through its exact TypeDB pair.
- execute_
catalog_ apply_ plan_ controlled - Execute one catalog-authorized forward plan under explicit shared controls.
- execute_
catalog_ rollback_ plan - Execute one catalog-authorized rollback plan through its exact TypeDB pair.
- execute_
catalog_ rollback_ plan_ controlled - Execute one catalog-authorized rollback plan under explicit shared controls.
- execution_
capability_ vocabulary - Compose the exact execution capability vocabulary for TypeDB 3.12.1.
- extract_
legacy_ applied_ set_ digest - Digest every checksum-bound node in one checked legacy graph.
- extract_
legacy_ frontier - Extract the canonical legacy frontier from one checked legacy graph.
- is_
typebridge_ internal_ label - Return whether a schema label belongs to the reserved control namespace.
- load_
catalog_ applied_ migrations - Load the active applied identities from the exact generated catalog journal.
- observe_
managed_ state_ from_ export - Observe the exact live managed schema state from one provider export.
- partition_
typeql_ export - Parse one full TypeDB export and partition it without editing raw TypeQL.
- rebuild_
live_ managed_ state - Rebuild the live managed state from one export for drift reporting.
- rebuild_
live_ query_ authority - Rebuild live schema authority together with exact control-schema presence.
- rebuild_
live_ query_ authority_ state - Rebuild live schema authority for a read-only V2 query executor.
- require_
active_ managed_ fence - Require an exact active fence mirror inside a managed-database transaction.
- require_
supported_ migration_ execution_ binding - Require the exact semantic profile and negotiated servers supported by TypeDB migration execution over one managed/journal pair.
- require_
supported_ migration_ server - Require the exact TypeDB server version supported by migration execution.
- verify_
catalog_ state - Verify catalog, ledger, and live semantics without setup, lease, or mutation.
- verify_
legacy_ continuity - Verify checksum continuity between legacy files and the applied ledger.