-- Run once in the application's database (for example, through phpMyAdmin > SQL).
-- Certificate generation stores both letter grades and the completion label 'Pass'.
-- Widening this column preserves existing values and NULLs.
ALTER TABLE certificates
    MODIFY COLUMN grade VARCHAR(20) NULL DEFAULT NULL;

-- Confirm the resulting column definition.
SHOW COLUMNS FROM certificates LIKE 'grade';
