-- Restore max_score for rollback (snapshot of goal; can be repopulated from max_goal_score)

ALTER TABLE weekly_goals ADD COLUMN IF NOT EXISTS max_score NUMERIC(10,4);
UPDATE weekly_goals SET max_score = max_goal_score WHERE max_score IS NULL;
