Skip to content

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

If project is version control enabled, add note telling user will navigate to the git repository

天舟815b837f18ea
diff --git a/frontend/src/components/AlterSchemaPrepForm.vue b/frontend/src/components/AlterSchemaPrepForm.vue
index 96c58d6d6b..0a6ee10113 100644
--- a/frontend/src/components/AlterSchemaPrepForm.vue
+++ b/frontend/src/components/AlterSchemaPrepForm.vue
@@ -1,5 +1,12 @@
<template>
<div class="mx-4 space-y-6 w-160 divide-y divide-block-border">
+ <div
+ v-if="projectId != UNKNOWN_ID && state.project.workflowType == 'VCS'"
+ class="textlabel"
+ >
+ Project has version control enabled and selecting database below will
+ navigate you to the corresponding Git repository to create schema change.
+ </div>
<DatabaseTable
:mode="projectId == UNKNOWN_ID ? 'ALL_SHORT' : 'PROJECT_SHORT'"
:bordered="true"