auto_diff_table

Function auto_diff_table 

Source
pub fn auto_diff_table<T: TableSchema>(
    current: &TableSnapshot,
    dialect: &impl RustTypeMapping,
) -> SchemaDiff
Expand description

Compares a single table’s current snapshot against the desired schema derived from a #[derive(Table)] struct.