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;