-- Add per-day run tracking columns to profiles
-- runs_today: how many analysis runs the user has done today
-- runs_today_date: the date runs_today was last reset (used to auto-reset daily)
-- daily_run_limit: max runs per day for this user (set by plan, overridable by admin)
ALTER TABLE profiles
  ADD COLUMN IF NOT EXISTS runs_today integer NOT NULL DEFAULT 0,
  ADD COLUMN IF NOT EXISTS runs_today_date date,
  ADD COLUMN IF NOT EXISTS daily_run_limit integer;
