Skip to main content

diff

Function diff 

Source
pub fn diff(previous: &Schema, current: &Schema) -> Vec<Change>
Expand description

Every difference from previous to current, tables in name order and fields in the order the new declaration lists them.

Deterministic: the same pair always produces the same list, so a drift check can compare two runs.