Files
HealthLog/prisma/migrations/0499_user_nutrient_targets
Marc-André Bombeck a68ec9421f feat(nutrients): store daily nutrient targets per account
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.
2026-11-17 18:46:48 +01:00
..