Skip to main content

normalize_field_change

Function normalize_field_change 

Source
pub fn normalize_field_change(
    schema: &AppSchema,
    change: &SchemaChange,
) -> Result<(SchemaChange, Option<Field>), DatabaseError>
Expand description

Reuses lossless conversion while separating an explicitly retired physical check from the logical values admitted before and after the migration.