pub fn diff_schemas(
from: &[TableDef],
to: &[TableDef],
) -> Result<MigrationPlan, PlannerError>Expand description
Diff two schema snapshots into a migration plan. Schemas are normalized for comparison purposes, but the original (non-normalized) tables are used in migration actions to preserve inline constraint definitions.