mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
Every record with a tombstone (allergies, labs, conditions, vaccinations, life events, measurements and the rest) rides the disaster-recovery file deleted rows included, so a restore gives back the account as it was. The family history read only live entries for both files, so a restore lost its deletions, and it carried the note as readable text that the restore sealed again under the active key. The disaster-recovery slice now carries every entry with its deletion and the note as the ciphertext at rest, and the restore writes both back verbatim; the portable file keeps the readable live entries. The parity golden copies change for exactly that: the deleted entry, its note's key and the shifted ids after it.