-- Migration: Add weekly_goals.max_score snapshot column and drop unused actual_score
-- Date: 2026-01-24

ALTER TABLE weekly_goals
    DROP COLUMN IF EXISTS actual_score;

-- max_score is a snapshot of max_goal_score for a week, filled only for new weeks by cron
ALTER TABLE weekly_goals
    ADD COLUMN IF NOT EXISTS max_score NUMERIC(10,4);

