-- 1.3.16

USE `stmms_ft`;

ALTER TABLE  eb_exam_subject MODIFY COLUMN `inspect_round` 	INT (11) NOT NULL DEFAULT 1 COMMENT '复核轮数';
update b_role_info set name='评卷组长' where name='科组长';
update b_role_info set name='系统管理员' where name='学校管理员';
update b_role_info set name='成绩查询员' where name='学校查询员';
update b_role_info set name='评卷管理员' where name='学院管理员';

ALTER TABLE eb_exam_question ADD COLUMN `customize_policy`	text  DEFAULT NULL COMMENT '自定义判分策略';

ALTER TABLE eb_inspect_history DROP INDEX index1;
ALTER TABLE eb_inspect_history ADD INDEX index1(`student_id`);
ALTER TABLE eb_inspect_history DROP `inspect_round`;

delete from  b_role_privilege where privilege_code='exam_inspected_info-info';
delete from  b_privilege where code='exam_inspected_info-info';
