Skip to main content

derive_lossless

Function derive_lossless 

Source
pub fn derive_lossless(
    before: &Schema,
    after: &Schema,
) -> Result<Vec<Operation>, MigrationError>
Expand description

Derives only lossless table creation and nullable column addition operations. Every other difference fails closed and requires authored intent.