Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Improve wording to instruct developer to contact DBA if instance does not have migration schema
天舟5ab4f6ac9f1f
diff --git a/frontend/src/views/InstanceDetail.vue b/frontend/src/views/InstanceDetail.vueindex 4de9a503a6..42286746b3 100644--- a/frontend/src/views/InstanceDetail.vue+++ b/frontend/src/views/InstanceDetail.vue@@ -177,9 +177,19 @@ export default {const attentionText = computed((): string => {if (state.migrationSetupStatus == "NOT_EXIST") {- return "Bytebase relies on migration schema to manage version control based schema migration for databases belonged to this instance.";+ return (+ "Bytebase relies on migration schema to manage version control based schema migration for databases belonged to this instance." ++ (isDBAOrOwner(currentUser.value.role)+ ? ""+ : " Please contact your DBA to configure it.")+ );} else if (state.migrationSetupStatus == "UNKNOWN") {- return "Bytebase relies on migration schema to manage version control based schema migration for databases belonged to this instance. Please check the instance connection info is correct.";+ return (+ "Bytebase relies on migration schema to manage version control based schema migration for databases belonged to this instance." ++ (isDBAOrOwner(currentUser.value.role)+ ? " Please check the instance connection info is correct."+ : " Please contact your DBA to configure it.")+ );}return "";});