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

benjobs pushed a commit to branch release-2.1.2
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/release-2.1.2 by this push:
     new 9ed4bfab3 [Bug] upgrade ddl bug fixed
9ed4bfab3 is described below

commit 9ed4bfab38bd713d70bdd706cd72fe000599501e
Author: benjobs <[email protected]>
AuthorDate: Sat Dec 16 09:02:22 2023 +0800

    [Bug] upgrade ddl bug fixed
---
 .../src/main/assembly/script/upgrade/mysql/2.1.2.sql                    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/streampark-console/streampark-console-service/src/main/assembly/script/upgrade/mysql/2.1.2.sql
 
b/streampark-console/streampark-console-service/src/main/assembly/script/upgrade/mysql/2.1.2.sql
index c0fafc641..9d6f2dddc 100644
--- 
a/streampark-console/streampark-console-service/src/main/assembly/script/upgrade/mysql/2.1.2.sql
+++ 
b/streampark-console/streampark-console-service/src/main/assembly/script/upgrade/mysql/2.1.2.sql
@@ -22,6 +22,6 @@ set foreign_key_checks = 0;
 
 alter table `t_flink_app`
     add column `dependency` text collate utf8mb4_general_ci default null after 
`main_class`,
-    modify column `modify_time` datetime not null comment 'modify time';
+    modify column `modify_time` datetime not null default current_timestamp 
comment 'modify time';
 
 set foreign_key_checks = 1;

Reply via email to