-- Add RiskAssessment question type for the 5-column permit risk matrix.
INSERT INTO `ptw_question_type` (`question_type`)
SELECT 'RiskAssessment'
WHERE NOT EXISTS (
  SELECT 1 FROM `ptw_question_type`
  WHERE LOWER(REPLACE(`question_type`, ' ', '')) IN ('riskassessment', 'risk_assessment')
);
