This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a commit to branch dev-2.1.2
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git
The following commit(s) were added to refs/heads/dev-2.1.2 by this push:
new c310ae150 [FIX] fix sql error when copy job (#3392)
c310ae150 is described below
commit c310ae15038a4f99d522337cc960044acbb3a686
Author: 735140144 <[email protected]>
AuthorDate: Wed Dec 13 18:22:54 2023 +0800
[FIX] fix sql error when copy job (#3392)
* fix sql default bug
* Update 2.1.2.sql
---------
Co-authored-by: benjobs <[email protected]>
---
.../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;