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,