-- Allow totalScore, proposedGradeCode, proposedGradeName, gradeCode, gradeName
-- to be NULL on PerformanceResult. This enables upsert during EVALUATING phase
-- (for saving overall comments before scores are calculated).
ALTER TABLE "platform_performance"."performance_result"
  ALTER COLUMN "total_score" DROP NOT NULL,
  ALTER COLUMN "proposed_grade_code" DROP NOT NULL,
  ALTER COLUMN "proposed_grade_name" DROP NOT NULL,
  ALTER COLUMN "grade_code" DROP NOT NULL,
  ALTER COLUMN "grade_name" DROP NOT NULL;
