ALTER TABLE rm_users
  ADD COLUMN IF NOT EXISTS survey_bonus_forecasts INTEGER NOT NULL DEFAULT 0;

UPDATE rm_surveys
SET credit_reward = 30
WHERE is_active = TRUE
  AND COALESCE(credit_reward, 0) < 30;
