Skip to main content

verify_legacy_ledger

Function verify_legacy_ledger 

Source
pub fn verify_legacy_ledger(
    expected: &BTreeMap<String, String>,
    observed: &BTreeMap<String, String>,
) -> Result<(), DatabaseError>
Expand description

Checks historical migration evidence before a populated database can be adopted into the logical ledger. A legacy checksum records what actually ran; it is never inferred from the current physical table names.