xiatian 1 년 전
부모
커밋
bb0291bd7b
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      install/mysql/init/stmms_ft.sql
  2. 1 0
      install/mysql/upgrade/1.5.0.sql

+ 1 - 1
install/mysql/init/stmms_ft.sql

@@ -391,7 +391,7 @@ CREATE TABLE `eb_exam_subject`
 	`auto_scroll`   	tinyint(1)	DEFAULT NULL COMMENT '评卷提交自动定位',
 	`enable_split`   	tinyint(1)	DEFAULT NULL COMMENT '自动对切题卡',
 	`display_question_name`   	tinyint(1)	NOT NULL COMMENT '显示题目昵称',
-	`inspect_round` 	INT (11)	NOT NULL COMMENT '复核轮数',
+	`inspect_round` 	INT (11)	NOT NULL DEFAULT 1 COMMENT '复核轮数',
 	`selective` 		tinyint(1)  NOT NULL COMMENT '选做题科目',
     PRIMARY KEY (`exam_id`, `code`)
 ) ENGINE = InnoDB

+ 1 - 0
install/mysql/upgrade/1.5.0.sql

@@ -8,3 +8,4 @@ ALTER TABLE eb_exam_question ADD COLUMN `arbitrate_threshold` double    DEFAULT
 ALTER TABLE m_arbitrate_history ADD COLUMN `question_index` text        DEFAULT NULL COMMENT '题目序号';
 
 update eb_mark_group set arbitrate_type='GROUP' where double_rate is not null and double_rate>0;
+ALTER TABLE  eb_exam_subject MODIFY COLUMN `inspect_round` 	INT (11) NOT NULL DEFAULT 1 COMMENT '复核轮数';