refactor(项目报告): 修改旧数据

由于项目定时报告功能转为开源,所以要增加一条修改已设置好的定时任务数据的sql,修改之前设置了的定时项目报告的配置信息
This commit is contained in:
song-tianyang 2023-02-13 10:58:39 +08:00 committed by 建国
parent 650a28b7da
commit 8754e56125
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
SET SESSION innodb_lock_wait_timeout = 7200;
-- 由于更新了SendReportJob类的包所以针对之前设置好的定时任务要修改它们对应的job
UPDATE `schedule` SET job = 'io.metersphere.reportstatistics.job' WHERE job = 'io.metersphere.xpack.reportstatistics.job.SendReportJob';
SET SESSION innodb_lock_wait_timeout = DEFAULT;