From 9ed4bfab38bd713d70bdd706cd72fe000599501e Mon Sep 17 00:00:00 2001 From: benjobs Date: Sat, 16 Dec 2023 09:02:22 +0800 Subject: [PATCH] [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 c0fafc6417..9d6f2dddc7 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;