From aaef7b4be044202ad216b2d60fb3088f300182db Mon Sep 17 00:00:00 2001 From: benjobs Date: Fri, 1 Nov 2024 17:46:41 +0800 Subject: [PATCH] [Improve] t_app_backup ddl improvement --- .../src/main/assembly/script/schema/mysql-schema.sql | 2 +- .../src/main/assembly/script/schema/pgsql-schema.sql | 2 +- .../src/main/resources/db/schema-h2.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/streampark-console/streampark-console-service/src/main/assembly/script/schema/mysql-schema.sql b/streampark-console/streampark-console-service/src/main/assembly/script/schema/mysql-schema.sql index adf8804427..97c3568298 100644 --- a/streampark-console/streampark-console-service/src/main/assembly/script/schema/mysql-schema.sql +++ b/streampark-console/streampark-console-service/src/main/assembly/script/schema/mysql-schema.sql @@ -31,7 +31,7 @@ create table `t_app_backup` ( `sql_id` bigint default null, `config_id` bigint default null, `version` int default null, - `path` varchar(128) collate utf8mb4_general_ci default null, + `path` text collate utf8mb4_general_ci default null, `description` varchar(255) collate utf8mb4_general_ci default null, `create_time` datetime default null comment 'create time', primary key (`id`) using btree diff --git a/streampark-console/streampark-console-service/src/main/assembly/script/schema/pgsql-schema.sql b/streampark-console/streampark-console-service/src/main/assembly/script/schema/pgsql-schema.sql index 1217ccbf0c..4c97f03e89 100644 --- a/streampark-console/streampark-console-service/src/main/assembly/script/schema/pgsql-schema.sql +++ b/streampark-console/streampark-console-service/src/main/assembly/script/schema/pgsql-schema.sql @@ -157,7 +157,7 @@ create table "public"."t_app_backup" ( "sql_id" int8, "config_id" int8, "version" int4, - "path" varchar(128) collate "pg_catalog"."default", + "path" text collate "pg_catalog"."default", "description" varchar(255) collate "pg_catalog"."default", "create_time" timestamp(6) ) diff --git a/streampark-console/streampark-console-service/src/main/resources/db/schema-h2.sql b/streampark-console/streampark-console-service/src/main/resources/db/schema-h2.sql index bdf5fac3b0..2b843dd489 100644 --- a/streampark-console/streampark-console-service/src/main/resources/db/schema-h2.sql +++ b/streampark-console/streampark-console-service/src/main/resources/db/schema-h2.sql @@ -24,7 +24,7 @@ create table if not exists `t_app_backup` ( `sql_id` bigint default null, `config_id` bigint default null, `version` int default null, - `path` varchar(128) default null, + `path` text default null, `description` varchar(255) default null, `create_time` datetime default null comment 'create time', `modify_time` datetime default null comment 'modify time',