Skip to content

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

Disable "Establish new baseline" button if migration schema is not ready

天舟68e2128a83ca
diff --git a/frontend/src/components/DatabaseMigrationHistoryPanel.vue b/frontend/src/components/DatabaseMigrationHistoryPanel.vue
index cd453f7617..9f89af151e 100644
--- a/frontend/src/components/DatabaseMigrationHistoryPanel.vue
+++ b/frontend/src/components/DatabaseMigrationHistoryPanel.vue
@@ -6,6 +6,7 @@
v-if="allowEdit"
type="button"
class="ml-4 btn-primary"
+ :disabled="state.migrationSetupStatus != 'OK'"
@click.prevent="state.showBaselineModal = true"
>
Establish new baseline