USE teachcloud_db;

ALTER TABLE `exam_print_plan`
    CHANGE COLUMN `exam_start_time` `exam_start_time` BIGINT NULL COMMENT '考试开始时间' ,
    CHANGE COLUMN `exam_end_time` `exam_end_time` BIGINT NULL COMMENT '考试结束时间' ;

ALTER TABLE `exam_detail`
    CHANGE COLUMN `exam_start_time` `exam_start_time` BIGINT NULL COMMENT '考试开始日期' ,
    CHANGE COLUMN `exam_end_time` `exam_end_time` BIGINT NULL COMMENT '考试结束日期' ;

INSERT INTO `sys_privilege` (`id`, `name`, `url`, `type`, `parent_id`, `sequence`, `property`, `related`, `enable`, `default_auth`, `front_display`) VALUES ('545', '成绩下载', 'DownloadScore', 'BUTTON', '487', '2', 'AUTH', '546', '1', '0', '1');
INSERT INTO `sys_privilege` (`id`, `name`, `url`, `type`, `parent_id`, `sequence`, `property`, `enable`, `default_auth`, `front_display`) VALUES ('546', '成绩下载', '/api/admin/mark/archive/score/download', 'URL', '487', '2', 'AUTH', '1', '1', '1');
INSERT INTO `sys_privilege` (`id`, `name`, `url`, `type`, `parent_id`, `sequence`, `property`, `enable`, `default_auth`, `front_display`) VALUES ('306', '从题库选择试卷', 'SelectTikuPaper', 'BUTTON', '40', '13', 'AUTH', '1', '0', '1');
