mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-19 08:12:52 +00:00
A nullable users.nutrient_targets_json column (migration 0499) holds a target or limit per catalog code in the code's canonical unit. GET and PATCH /api/nutrients/targets read and merge it behind the nutrients module; PATCH refuses unknown codes and values above the code's plausibility cap, and audits the codes set, never the amounts.