diff --git a/hzims-service/operational/src/main/resources/db/2.0.1.sql b/hzims-service/operational/src/main/resources/db/2.0.1.sql index 141d5a7..5c5d97c 100644 --- a/hzims-service/operational/src/main/resources/db/2.0.1.sql +++ b/hzims-service/operational/src/main/resources/db/2.0.1.sql @@ -9,8 +9,7 @@ alter table `hzims_oper_maintenance_plan` add column `create_user_name` varchar( alter table `hzims_oper_maintenance_plan` add column `update_user_name` varchar(255) comment '更新人姓名'; -- 日常维护任务添加工作票名称 alter table `hzims_oper_maintenance_task` add COLUMN `ticket_name` VARCHAR(255) comment '票据名称'; - -CREATE TABLE `hzims_operation`.`hz_ims_duty_log` ( +CREATE TABLE IF NOT EXISTS `hz_ims_duty_log` ( `id` bigint(20) NOT NULL, `duty_id` bigint(20) NULL DEFAULT NULL, `time` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,