Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: remove fallback (#14780)

Danny Xu6cbf825bcb11
diff --git a/frontend/src/components/ColumnDataTable/utils.ts b/frontend/src/components/ColumnDataTable/utils.ts
index e0b73ae16d..9ae7d21e35 100644
--- a/frontend/src/components/ColumnDataTable/utils.ts
+++ b/frontend/src/components/ColumnDataTable/utils.ts
@@ -1,10 +1,7 @@
import { cloneDeep } from "lodash-es";
import { t } from "@/plugins/i18n";
-import { pushNotification, useDBSchemaV1Store, useDatabaseCatalogV1Store } from "@/store";
+import { pushNotification, useDatabaseCatalogV1Store } from "@/store";
import { Engine } from "@/types/proto/v1/common";
-import {
- DatabaseMetadataView,
-} from "@/types/proto/v1/database_service";
import {
ColumnCatalog,
TableCatalog,
@@ -67,13 +64,6 @@ export const updateColumnConfig = async ({
}
await dbCatalogStore.updateDatabaseCatalog(pendingUpdateCatalog);
- // TODO(d): remove the cache update after fully migrated to database catalog service.
- const dbSchemaV1Store = useDBSchemaV1Store();
- await dbSchemaV1Store.getOrFetchDatabaseMetadata({
- database: database,
- view: DatabaseMetadataView.DATABASE_METADATA_VIEW_FULL,
- skipCache: true,
- });
pushNotification({
module: "bytebase",
style: "SUCCESS",
@@ -112,14 +102,6 @@ export const updateTableConfig = async (
await dbCatalogStore.updateDatabaseCatalog(pendingUpdateCatalog);
- // TODO(d): remove the cache update after fully migrated to database catalog service.
- const dbSchemaV1Store = useDBSchemaV1Store();
- await dbSchemaV1Store.getOrFetchDatabaseMetadata({
- database: database,
- view: DatabaseMetadataView.DATABASE_METADATA_VIEW_FULL,
- skipCache: true,
- });
-
pushNotification({
module: "bytebase",
style: "SUCCESS",