Skip to content

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

chore: hide database/table created/updated ts (#3870)

boojack894b6e0851e1
diff --git a/frontend/src/components/DatabaseOverviewPanel.vue b/frontend/src/components/DatabaseOverviewPanel.vue
index 6961d82d93..ccf70df749 100644
--- a/frontend/src/components/DatabaseOverviewPanel.vue
+++ b/frontend/src/components/DatabaseOverviewPanel.vue
@@ -68,24 +68,6 @@
{{ humanizeTs(database.lastSuccessfulSyncTs) }}
</dd>
</div>
-
- <div v-if="!isPostgres" class="col-span-1 col-start-1">
- <dt class="text-sm font-medium text-control-light">
- {{ $t("common.created-at") }}
- </dt>
- <dd class="mt-1 text-sm text-main">
- {{ humanizeTs(database.createdTs) }}
- </dd>
- </div>
-
- <div v-if="!isPostgres" class="col-span-1">
- <dt class="text-sm font-medium text-control-light">
- {{ $t("common.updated-at") }}
- </dt>
- <dd class="mt-1 text-sm text-main">
- {{ humanizeTs(database.updatedTs) }}
- </dd>
- </div>
</dl>
<div class="pt-6">
@@ -264,7 +246,6 @@ export default defineComponent({
const dbExtensionStore = useDBExtensionStore();
const databaseEngine = props.database.instance.engine as EngineType;
- const isPostgres = computed(() => databaseEngine === "POSTGRES");
const prepareTableList = () => {
tableStore.fetchTableListByDatabaseId(props.database.id);
@@ -414,7 +395,6 @@ export default defineComponent({
saveEditDataSource,
configInstance,
databaseEngine,
- isPostgres,
};
},
});
diff --git a/frontend/src/components/TableTable.vue b/frontend/src/components/TableTable.vue
index e6aa8f22b6..d7ae079eaf 100644
--- a/frontend/src/components/TableTable.vue
+++ b/frontend/src/components/TableTable.vue
@@ -33,9 +33,6 @@
<BBTableCell class="w-[14%]">
{{ bytesToString(table.indexSize) }}
</BBTableCell>
- <BBTableCell v-if="!isPostgres" class="w-[14%]">
- {{ humanizeTs(table.createdTs) }}
- </BBTableCell>
</template>
<template v-if="hasReservedTables && !state.showReservedTableList" #footer>
@@ -123,9 +120,6 @@ export default defineComponent({
{
title: t("database.index-size"),
},
- {
- title: t("common.created-at"),
- },
];
}
});
diff --git a/frontend/src/views/TableDetail.vue b/frontend/src/views/TableDetail.vue
index 51a59724ba..4a2e4804c1 100644
--- a/frontend/src/views/TableDetail.vue
+++ b/frontend/src/views/TableDetail.vue
@@ -168,24 +168,6 @@
</dd>
</div>
</template>
-
- <div class="col-span-1 col-start-1">
- <dt class="text-sm font-medium text-control-light">
- {{ $t("common.updated-at") }}
- </dt>
- <dd class="mt-1 text-sm text-main">
- {{ humanizeTs(table.updatedTs) }}
- </dd>
- </div>
-
- <div class="col-span-1">
- <dt class="text-sm font-medium text-control-light">
- {{ $t("common.created-at") }}
- </dt>
- <dd class="mt-1 text-sm text-main">
- {{ humanizeTs(table.createdTs) }}
- </dd>
- </div>
</dl>
</div>
</div>