Skip to content

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

Put database name as the first column

天舟f5fe0d2c3bc6
diff --git a/frontend/src/components/DatabaseTable.vue b/frontend/src/components/DatabaseTable.vue
index 3f1aeae43a..cf17d08abf 100644
--- a/frontend/src/components/DatabaseTable.vue
+++ b/frontend/src/components/DatabaseTable.vue
@@ -10,6 +10,7 @@
<template v-slot:body="{ rowData: database }">
<BBTableCell :leftPadding="4" class="w-16">
{{ database.name }}
+ </BBTableCell>
<BBTableCell class="w-16">
{{ projectName(database.project) }}
</BBTableCell>
@@ -40,7 +41,7 @@ const COLUMN_LIST = [
{
title: "Name",
},
- {
+ {
title: "Project",
},
{
@@ -64,9 +65,6 @@ const COLUMN_LIST_SINGLE_INSTANCE = [
{
title: "Project",
},
- {
- title: "Environment",
- },
{
title: "Sync status",
},
diff --git a/frontend/src/components/InstanceTable.vue b/frontend/src/components/InstanceTable.vue
index 8aaf95f527..77ffde818e 100644
--- a/frontend/src/components/InstanceTable.vue
+++ b/frontend/src/components/InstanceTable.vue
@@ -11,12 +11,12 @@
<BBTableCell :leftPadding="4" class="w-8">
<img class="h-10 w-auto" src="../assets/db-mysql.svg" />
</BBTableCell>
- <BBTableCell :leftPadding="4" class="w-16">
- {{ environmentNameFromId(instance.environment.id) }}
- </BBTableCell>
<BBTableCell class="w-32">
{{ instanceName(instance) }}
</BBTableCell>
+ <BBTableCell class="w-16">
+ {{ environmentNameFromId(instance.environment.id) }}
+ </BBTableCell>
<BBTableCell class="w-48">
<template v-if="instance.port"
>{{ instance.host }}:{{ instance.port }}</template
@@ -82,10 +82,10 @@ export default {
title: "",
},
{
- title: "Environment",
+ title: "Name",
},
{
- title: "Name",
+ title: "Environment",
},
{
title: "Host:Port",