Skip to main content

migrate_legacy_json

Function migrate_legacy_json 

Source
pub fn migrate_legacy_json(
    conn: &Connection,
    raw_json: &str,
) -> Result<(), String>
Expand description

Inserts raw JSON from a legacy vault.json into the vault table. Called once on first unlock after a Phase 1 → Phase 2 upgrade.