Skip to main content

compare_database_contracts

Function compare_database_contracts 

Source
pub fn compare_database_contracts(
    before: &DataDocument,
    after: &DataDocument,
) -> CompatibilityReport
Expand description

Compares directly modeled database tables, columns, constraints, and migration ancestry.

Cross-repository consumer impact is not represented by one DataDocument and is therefore always reported as unknown rather than inferred.