Skip to main content

Module schema_metadata

Module schema_metadata 

Source
Expand description

Static metadata for downgrade planning.

Migrator::migrations() owns the executable migration order. This module keeps the user-facing downgrade metadata in the same crate so release checks can ensure every migration has an explicit reversibility and cache-impact decision before a new binary ships.

Structs§

MigrationMetadata
Downgrade metadata for one migration.

Constants§

ACTIVE_CONFIG_MIGRATION_ID
Migration that introduced desired-vs-active sandbox config tracking.
BASELINE_0_6_0_MIGRATIONS
Frozen migration baseline for the transitional 0.6.0 release.
DOWNGRADE_FLOOR
Oldest release supported by the downgrade flow.
MAINTENANCE_LEASE_MIGRATION_ID
Migration that introduced the DB-backed maintenance lease table.
MIGRATION_METADATA
Metadata for every migration in Migrator::migrations() order.
SCHEMA_BASELINE_FORMAT_VERSION
Version of the hidden schema-baseline JSON shape emitted by the CLI.

Functions§

migration_ids
Return all migration identifiers in schema order.