-- 修改 score 表的 exam_id 字段,允许为 NULL(因为考试名称不是必填项) ALTER TABLE `score` MODIFY COLUMN `exam_id` bigint DEFAULT NULL COMMENT '考试ID';