pub fn diff_states(before: &DbState, after: &DbState) -> Vec<DiffOp>Expand description
Diff two live-database snapshots (used by squash to capture the net effect of a range of migrations applied to an ephemeral shadow database). “before” = state at the start of the squashed range, “after” = state at the end. Returns DiffOps suitable for a migration file body.