mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 06:32:03 +00:00
The single create's upsert restated all five columns on its update arm, so a client re-posting an entry with only a label and a timestamp — the phone, whose build has no sliders — cleared the stress, energy, connectedness and stability somebody had answered on the web. The batch and import paths already preserved them, so the two disagreed. One answer now, and it is preserve: absence in a request means nothing to say, an explicit null takes an answer back, and pleasantness still follows the label because the request always carries one. The create schema accepts the null that makes clearing expressible. A re-post that omits a dimension is asserted to leave it standing, and that assertion has been watched to fail against the old arm.