-- 2.76 到期监控：补全 pre_config 缺省项（后台「框架初始配置」写入 pre_config，计划任务须与之一致）
INSERT IGNORE INTO `pre_config` (`k`,`v`) VALUES ('notice_end','1');
INSERT IGNORE INTO `pre_config` (`k`,`v`) VALUES ('notify_end_day','5');
INSERT IGNORE INTO `pre_config` (`k`,`v`) VALUES ('qq_end_notify_nr','');
INSERT IGNORE INTO `pre_config` (`k`,`v`) VALUES ('qq_end_day','0');
INSERT IGNORE INTO `pre_config` (`k`,`v`) VALUES ('del_qq_type','0');
INSERT IGNORE INTO `pre_config` (`k`,`v`) VALUES ('end_time','8');

ALTER TABLE `pre_qq` ADD COLUMN `end_notify_arr` text DEFAULT NULL COMMENT '到期提醒按分类上次发送时间JSON' AFTER `out_notify`;
ALTER TABLE `pre_dg_qq` ADD COLUMN `end_notify_arr` text DEFAULT NULL COMMENT '到期提醒按分类上次发送时间JSON' AFTER `out_notify`;
