Skip to content

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

Do not show "baseline notes" for Rollback SQL field since it won't be applied

天舟5cf394e4489d
diff --git a/frontend/src/components/IssueTaskStatementPanel.vue b/frontend/src/components/IssueTaskStatementPanel.vue
index 177a06f7c8..083f153b50 100644
--- a/frontend/src/components/IssueTaskStatementPanel.vue
+++ b/frontend/src/components/IssueTaskStatementPanel.vue
@@ -11,7 +11,9 @@
>
{{ rollback ? "Rollback SQL" : "SQL" }}
<span v-if="create && !rollback" class="text-red-600">*</span>
- <span v-if="!create && migrationType == 'BASELINE'" class="text-accent"
+ <span
+ v-if="!create && !rollback && migrationType == 'BASELINE'"
+ class="text-accent"
>(This is a baseline migration and bytebase won't apply the SQL to the
database, it will only record a baseline history)</span
>