Skip to content

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

bb.task.database.create and bb.task.database.restore does not have database in the task object and it should not show migration link

天舟4335888d2360
diff --git a/frontend/src/components/TaskRunTable.vue b/frontend/src/components/TaskRunTable.vue
index c7bd6b384b..1f6a12563c 100644
--- a/frontend/src/components/TaskRunTable.vue
+++ b/frontend/src/components/TaskRunTable.vue
@@ -169,9 +169,7 @@ export default {
const commentLink = (taskRun: TaskRun): CommentLink => {
if (taskRun.status == "DONE") {
switch (taskRun.type) {
- case "bb.task.database.create":
- case "bb.task.database.schema.update":
- case "bb.task.database.restore": {
+ case "bb.task.database.schema.update": {
return {
title: "View migration",
link: `/db/${databaseSlug(