From 42389762ec71b11b17d3913e53cbc599f918bfb4 Mon Sep 17 00:00:00 2001 From: "peng.peng" Date: Fri, 16 Jun 2023 08:52:21 +0800 Subject: [PATCH] =?UTF-8?q?(*)=E5=85=83=E6=95=B0=E6=8D=AE=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=BA=90=E4=BF=A1=E6=81=AF=EF=BC=8C=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E9=87=87=E9=9B=86=E6=97=B6=E6=9C=89=E8=AF=A5?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...e.sql => 02_alter_t_data_source&t_metadata_database.sql} | 6 ++++++ .../metadataManagement/containers/metadataDetails.js | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) rename scripts/0.0.7/{02_alter_t_data_source.sql => 02_alter_t_data_source&t_metadata_database.sql} (55%) diff --git a/scripts/0.0.7/02_alter_t_data_source.sql b/scripts/0.0.7/02_alter_t_data_source&t_metadata_database.sql similarity index 55% rename from scripts/0.0.7/02_alter_t_data_source.sql rename to scripts/0.0.7/02_alter_t_data_source&t_metadata_database.sql index aeea3ce..bc985cd 100644 --- a/scripts/0.0.7/02_alter_t_data_source.sql +++ b/scripts/0.0.7/02_alter_t_data_source&t_metadata_database.sql @@ -7,3 +7,9 @@ alter table t_data_source add type enum_datasource_type; comment on column t_data_source.type is '数据源类型'; + + +alter table t_metadata_database + add datasource_config jsonb; + +comment on column t_metadata_database.datasource_config is '元数据数据源信息,定时任务采集时有该值 手动创建的元数据没有'; \ No newline at end of file diff --git a/web/client/src/sections/metadataManagement/containers/metadataDetails.js b/web/client/src/sections/metadataManagement/containers/metadataDetails.js index b7eb088..4b62da2 100644 --- a/web/client/src/sections/metadataManagement/containers/metadataDetails.js +++ b/web/client/src/sections/metadataManagement/containers/metadataDetails.js @@ -108,10 +108,10 @@ const MetadataDetails = (props) => { return databasesRecord && (ConfigurableTypes['表'].includes(databasesRecord.type) || databasesRecord.type === '视图') ? null :
- + }}>新建}