-- 用户答题生成对应的规则id ALTER TABLE `rts_paper_user_question` ADD COLUMN `rule_id` bigint not NULL COMMENT '试卷规则rts_paper_rule的id' AFTER `pu_id`; ALTER TABLE `rts_paper_user_question` ADD COLUMN `sub_type` int not NULL COMMENT '规则类型:理论题(1-单选题,2-多选题,3-判断题);实训题(4-单操实训,5-场景实训)' AFTER `type`; ALTER TABLE `rts_paper_user_question` MODIFY COLUMN tmp_answer longtext; ALTER TABLE `rts_paper_rule` ADD COLUMN scene_detail VARCHAR(1000) COMMENT '场景实训考试的规则'; ALTER TABLE `rts_paper_user_question` ADD COLUMN `scene_cosplay_id` varchar(10) COMMENT '场景实训考试扮演的角色';