mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
The nightly purge nulled every non-cascading key into a purged row, so a live visit lost the practitioner it was with, a live dose its visit, a symptom its condition. Each purge entry now lists the keys that do not cascade, and a tombstone stays while a live row holds one. The register test derives those keys from the schema's relations, so a new nulling key into a purged model fails until it is listed.