mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
10 lines
397 B
SQL
10 lines
397 B
SQL
-- Optional per-user activity goals for the activity calendar: workouts,
|
|
-- active minutes and steps per week, steps per month.
|
|
--
|
|
-- Nullable, no default, no backfill: null reads as "no goal set", which is
|
|
-- every account's state today.
|
|
--
|
|
-- Reversibility: dropping the column removes the goals; nothing else reads it.
|
|
|
|
ALTER TABLE "users" ADD COLUMN IF NOT EXISTS "activity_goals_json" JSONB;
|