Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: disallow renaming existed table (#10832)
Liu Ji86bf57993d87
diff --git a/frontend/src/components/SchemaEditorLite/Aside/Tree.vue b/frontend/src/components/SchemaEditorLite/Aside/Tree.vueindex ddd1eb8bbc..217eb8da01 100644--- a/frontend/src/components/SchemaEditorLite/Aside/Tree.vue+++ b/frontend/src/components/SchemaEditorLite/Aside/Tree.vue@@ -239,10 +239,12 @@ const contextMenuOptions = computed(() => {label: t("schema-editor.actions.restore"),});} else {- options.push({- key: "rename",- label: t("schema-editor.actions.rename"),- });+ if (status !== "normal") {+ options.push({+ key: "rename",+ label: t("schema-editor.actions.rename"),+ });+ }options.push({key: "drop",label: t("schema-editor.actions.drop-table"),