Expand description
Lossless value conversion for guarded logical field migrations. Adapters use the same preflight before changing any physical representation.
Functionsยง
- apply_
declaration - Replays a declaration transition without changing earlier migration identities.
- convert_
value - Converts one admitted stored value, rejecting truncation, rounding and invented defaults.
- normalize_
field_ change - Reuses lossless conversion while separating an explicitly retired physical check from the logical values admitted before and after the migration.
- previous_
schema - Validates a field transition and reconstructs the schema used to read historical values.
- query
- Reads bounded conversion pages in stable identity order without exporting an app.
- schema_
after_ step - Reconstructs the declared schema after one step, excluding later schema changes. Conversion must not inspect fields or tables that the same migration has not created yet.
- staging_
name - Names an internal staging entity deterministically so interrupted migration can resume.
- staging_
schema - Builds a complete target-row staging entity to validate fields and cross-field indexes.
- statements
- Stages typed values through ordinary safe parameter binding without mutating source records.