From f18f28cc4a69e7e0d6bf76724ea721af07f87304 Mon Sep 17 00:00:00 2001 From: calvin Date: Wed, 16 Feb 2022 15:10:19 +0800 Subject: [PATCH] fix this issue (#8399) --- .../src/main/resources/sql/dolphinscheduler_postgresql.sql | 4 ++-- .../upgrade/2.1.0_schema/postgresql/dolphinscheduler_ddl.sql | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql b/dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql index 5d5ce6fcba..9373740a17 100644 --- a/dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql +++ b/dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql @@ -1877,9 +1877,9 @@ CREATE TABLE t_ds_k8s_namespace ( namespace varchar(100) DEFAULT NULL , online_job_num int DEFAULT '0' , owner varchar(100) DEFAULT NULL, - pod_replicas int(11) DEFAULT NULL, + pod_replicas int DEFAULT NULL, pod_request_cpu NUMERIC(13,4) NULL, - pod_request_memory int(11) DEFAULT NULL, + pod_request_memory int DEFAULT NULL, tag varchar(100) DEFAULT NULL, limits_cpu NUMERIC(13,4) NULL, k8s varchar(100) DEFAULT NULL, diff --git a/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.1.0_schema/postgresql/dolphinscheduler_ddl.sql b/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.1.0_schema/postgresql/dolphinscheduler_ddl.sql index 854b787204..3d62647718 100644 --- a/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.1.0_schema/postgresql/dolphinscheduler_ddl.sql +++ b/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.1.0_schema/postgresql/dolphinscheduler_ddl.sql @@ -169,9 +169,9 @@ EXECUTE 'CREATE TABLE IF NOT EXISTS '|| quote_ident(v_schema) ||'."t_ds_k8s_name namespace varchar(100) DEFAULT NULL , online_job_num int DEFAULT ''0'' , owner varchar(100) DEFAULT NULL, - pod_replicas int(11) DEFAULT NULL, + pod_replicas int DEFAULT NULL, pod_request_cpu NUMERIC(13,4) NULL, - pod_request_memory int(11) DEFAULT NULL, + pod_request_memory int DEFAULT NULL, tag varchar(100) DEFAULT NULL, limits_cpu NUMERIC(13,4) NULL, k8s varchar(100) DEFAULT NULL,