Browse Source

优化quartz脚本

ZhouChenglin 7 năm trước cách đây
mục cha
commit
d32156d007
1 tập tin đã thay đổi với 12 bổ sung0 xóa
  1. 12 0
      doc/dp-quartz.sql

+ 12 - 0
doc/dp-quartz.sql

@@ -50,6 +50,18 @@ CREATE TABLE `quartz_job_log` (
   KEY `job_id` (`job_id`) USING BTREE
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='定时任务日志';
 
+DROP TABLE IF EXISTS QRTZ_FIRED_TRIGGERS;
+DROP TABLE IF EXISTS QRTZ_PAUSED_TRIGGER_GRPS;
+DROP TABLE IF EXISTS QRTZ_SCHEDULER_STATE;
+DROP TABLE IF EXISTS QRTZ_LOCKS;
+DROP TABLE IF EXISTS QRTZ_SIMPLE_TRIGGERS;
+DROP TABLE IF EXISTS QRTZ_SIMPROP_TRIGGERS;
+DROP TABLE IF EXISTS QRTZ_CRON_TRIGGERS;
+DROP TABLE IF EXISTS QRTZ_BLOB_TRIGGERS;
+DROP TABLE IF EXISTS QRTZ_TRIGGERS;
+DROP TABLE IF EXISTS QRTZ_JOB_DETAILS;
+DROP TABLE IF EXISTS QRTZ_CALENDARS;
+
 -- ----------------------------
 -- Table structure for quartz
 -- ----------------------------