pub fn diff_schemas(
from: &[TableDef],
to: &[TableDef],
) -> Result<MigrationPlan, PlannerError>Expand description
Diff two schema snapshots into a migration plan. Both schemas are normalized to convert inline column constraints (primary_key, unique, index, foreign_key) to table-level constraints.