rt-sim-training-service/sql/20230206-zhou.sql

17 lines
704 B
MySQL
Raw Normal View History

-- 用户答题生成对应的规则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`;
2023-02-10 15:45:28 +08:00
ALTER TABLE `rts_paper_user_question` MODIFY COLUMN tmp_answer longtext;
2023-02-10 15:45:28 +08:00
ALTER TABLE `rts_paper_rule` ADD COLUMN scene_detail VARCHAR(1000) COMMENT '场景实训考试的规则';
2023-02-10 15:45:28 +08:00
ALTER TABLE `rts_paper_user_question`
ADD COLUMN `scene_cosplay_id` varchar(10) COMMENT '场景实训考试扮演的角色';