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 :
- + }}>新建}