This is an automated email from the ASF dual-hosted git repository.

wenjun pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new dd5acfb  [Bug][sql] fix mysql create sentence bug (#6140)
dd5acfb is described below

commit dd5acfb7f0a19b6cac16ee299801adaba1fdfdfa
Author: JinyLeeChina <[email protected]>
AuthorDate: Thu Sep 9 10:43:34 2021 +0800

    [Bug][sql] fix mysql create sentence bug (#6140)
    
    * fix mysql create sentence bug
    
    Co-authored-by: JinyLeeChina <[email protected]>
---
 sql/dolphinscheduler_mysql.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sql/dolphinscheduler_mysql.sql b/sql/dolphinscheduler_mysql.sql
index 5769c16..014a94a 100644
--- a/sql/dolphinscheduler_mysql.sql
+++ b/sql/dolphinscheduler_mysql.sql
@@ -817,7 +817,7 @@ CREATE TABLE `t_ds_task_instance` (
   `task_instance_priority` int(11) DEFAULT NULL COMMENT 'task instance 
priority:0 Highest,1 High,2 Medium,3 Low,4 Lowest',
   `worker_group` varchar(64) DEFAULT NULL COMMENT 'worker group id',
   `environment_code` bigint(20) DEFAULT '-1' COMMENT 'environment code',
-  `environment_config` text DEFAULT '' COMMENT 'this config contains many 
environment variables config',
+  `environment_config` text COMMENT 'this config contains many environment 
variables config',
   `executor_id` int(11) DEFAULT NULL,
   `first_submit_time` datetime DEFAULT NULL COMMENT 'task first submit time',
   `delay_time` int(4) DEFAULT '0' COMMENT 'task delay execution time',
@@ -989,7 +989,7 @@ CREATE TABLE `t_ds_environment` (
   `update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE 
CURRENT_TIMESTAMP,
   PRIMARY KEY (`id`),
   UNIQUE KEY `environment_name_unique` (`name`),
-  UNIQUE KEY `environment_code_unique` (`code`),
+  UNIQUE KEY `environment_code_unique` (`code`)
 ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
 
 -- ----------------------------

Reply via email to