mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
A column-level round trip over every two-ended model found four values that left with the export and came back empty or re-stamped: - MenstrualCycle.absorbedIntoId: the disaster-recovery file carried the folded, soft-deleted start but not the start that absorbed it, so after a restore removing the absorbing start could no longer bring the folded one back. Carried in the disaster-recovery arm and written back only when the file carries the start it names. - Workout.externalSourceVersion: the source's version marker, stored so the sync can replay it unchanged, was in neither end. Carried beside metadata in the disaster-recovery arm. - NutrientIntakeDay.externalSourceVersion and createdAt: neither was selected, so a restored day lost its source marker and its first-arrival time. Carried in both arms. Files written before this change parse as before; every new field is optional on the way in.