Skip to content

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

chore: hide schema change type selector (#2663)

boojack0c7e37ee4c02
diff --git a/frontend/src/components/RepositoryForm.vue b/frontend/src/components/RepositoryForm.vue
index da5406808c..d56e000dd7 100644
--- a/frontend/src/components/RepositoryForm.vue
+++ b/frontend/src/components/RepositoryForm.vue
@@ -73,7 +73,7 @@
/>
</div>
<!-- Project schemaChangeType selector -->
- <div>
+ <div v-if="isDev">
<div class="textlabel">
{{ $t("project.settings.schema-change-type") }}
<span class="text-red-600">*</span>
@@ -168,15 +168,15 @@
>
</div>
<div class="mt-1 textinfolabel">
- <template v-if="isProjectSchemaChangeTypeDDL">
+ <template v-if="isDev && !isProjectSchemaChangeTypeDDL">
+ {{ $t("project.settings.schema-path-template-sdl-description") }}
+ </template>
+ <template v-else>
{{ $t("repository.schema-writeback-description") }}
<span class="font-medium text-main">{{
$t("repository.schema-writeback-protected-branch")
}}</span>
</template>
- <template v-else>
- {{ $t("project.settings.schema-path-template-sdl-description") }}
- </template>
</div>
<input
id="schemapathtemplate"