Skip to content

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

Combine the migration history version and type together into a single column

天舟0db28619210c
diff --git a/frontend/src/components/MigrationHistoryTable.vue b/frontend/src/components/MigrationHistoryTable.vue
index 7be4a1e8af..aa621e9fc1 100644
--- a/frontend/src/components/MigrationHistoryTable.vue
+++ b/frontend/src/components/MigrationHistoryTable.vue
@@ -22,7 +22,6 @@
<BBTableHeaderCell class="w-16" :title="columnList[5].title" />
<BBTableHeaderCell class="w-32" :title="columnList[6].title" />
<BBTableHeaderCell class="w-16" :title="columnList[7].title" />
- <BBTableHeaderCell class="w-16" :title="columnList[8].title" />
</template>
<template v-else>
<BBTableHeaderCell
@@ -36,7 +35,6 @@
<BBTableHeaderCell class="w-16" :title="columnList[4].title" />
<BBTableHeaderCell class="w-32" :title="columnList[5].title" />
<BBTableHeaderCell class="w-16" :title="columnList[6].title" />
- <BBTableHeaderCell class="w-16" :title="columnList[7].title" />
</template>
</template>
<template v-slot:body="{ rowData: history }">
@@ -48,9 +46,11 @@
</BBTableCell>
<BBTableCell :leftPadding="mode == 'DATABASE' ? 0 : 4">
{{ history.version }}
- </BBTableCell>
- <BBTableCell>
- {{ history.type }}
+ <span
+ v-if="history.type == 'BASELINE' || history.type == 'BRANCH'"
+ class="textinfolabel"
+ >({{ history.type }})</span
+ >
</BBTableCell>
<BBTableCell>
<template v-if="history.issueId">
@@ -102,9 +102,6 @@ const columnListMap: Map<Mode, BBTableColumn[]> = new Map([
{
title: "Version",
},
- {
- title: "Type",
- },
{
title: "Issue",
},
@@ -129,9 +126,6 @@ const columnListMap: Map<Mode, BBTableColumn[]> = new Map([
{
title: "Version",
},
- {
- title: "Type",
- },
{
title: "Issue",
},