From 7c8fbc781870cd786fc02c21fbad911c5beeddd4 Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Wed, 7 Aug 2024 11:08:13 +0800 Subject: [PATCH] * [misc] modify sql. --- db/zentao.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/zentao.sql b/db/zentao.sql index 965beeb643..a0582bd2cb 100755 --- a/db/zentao.sql +++ b/db/zentao.sql @@ -16689,8 +16689,8 @@ CREATE TABLE IF NOT EXISTS `zt_duckdbqueue` ( `updatedTime` datetime NULL, `syncTime` datetime NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; - CREATE UNIQUE INDEX `object` ON `zt_duckdbqueue`(`object`); + INSERT INTO `zt_cron` (`m`, `h`, `dom`, `mon`, `dow`, `command`, `remark`, `type`, `buildin`, `status`) VALUES ('30', '23', '*', '*', '*', 'moduleName=execution&methodName=computeTaskEffort', '计算任务剩余工时', 'zentao', '1', 'normal'); INSERT INTO `zt_cron` (`m`, `h`, `dom`, `mon`, `dow`, `command`, `remark`, `type`, `buildin`, `status`) VALUES ('30', '7', '*', '*', '*', 'moduleName=effort&methodName=remindNotRecord', '提醒录入日志', 'zentao', '1', 'stop'); INSERT INTO `zt_cron` (`m`, `h`, `dom`, `mon`, `dow`, `command`, `remark`, `type`, `buildin`, `status`, `lastTime`) VALUES ('1', '1', '*', '*', '*', 'moduleName=metric&methodName=updateMetricLib', '计算度量数据', 'zentao', 1, 'normal', NUll);