Skip to main content

schema_diff_with_policy

Function schema_diff_with_policy 

Source
pub fn schema_diff_with_policy(
    current: &DatabaseSchema,
    expected: &DatabaseSchema,
    destructive_policy: DestructivePolicy,
) -> SchemaDiff
Expand description

Compare two schemas and generate operations to transform current to expected.