Jelajahi Sumber

修改升级脚本

xujie 1 tahun lalu
induk
melakukan
8446808138
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      project_data/sql/0.1.0_zhulu/soc.sql

+ 3 - 3
project_data/sql/0.1.0_zhulu/soc.sql

@@ -22,7 +22,7 @@ BEGIN
                         AND table_name = 'core_monitoring_retrieval_task'
                         AND column_name = 'duration_total') THEN
     alter table core_monitoring_retrieval_task
-        add duration_total double(10,4) DEFAULT NULL COMMENT '调阅总时长' after sign_img;
+        add duration_total double(15,4) DEFAULT NULL COMMENT '调阅总时长' after sign_img;
     END IF;
 
     IF
@@ -31,8 +31,8 @@ BEGIN
                       WHERE table_schema = DATABASE()
                         AND table_name = 'sys_org_extend'
                         AND column_name = 'alone_dept') THEN
-    alter table core_monitoring_retrieval_task
-        add sys_org_extend varchar(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否独立机构' after remote_control_count;
+    alter table sys_org_extend
+        add alone_dept varchar(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否独立机构' after remote_control_count;
     END IF;