pub fn diff(old: &Schema, new: &Schema) -> Vec<Change>Expand description
Compute the change-list between two schemas. Order:
- ModelAdded (new models surface their full field-add list too)
- Per-model field add/remove + relation add/remove for fields that exist in both versions
- ModelRemoved (last so the human eye sees additions before destructive lines)