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
天舟c32126671ddd
diff --git a/frontend/src/components/DatabaseMigrationHistoryPanel.vue b/frontend/src/components/DatabaseMigrationHistoryPanel.vueindex d8794ad842..cd453f7617 100644--- a/frontend/src/components/DatabaseMigrationHistoryPanel.vue+++ b/frontend/src/components/DatabaseMigrationHistoryPanel.vue@@ -112,9 +112,19 @@ export default {const attentionTitle = computed((): string => {if (state.migrationSetupStatus == "NOT_EXIST") {- return `Missing migration history schema on instance "${props.database.instance.name}"`;+ return (+ `Missing migration history schema on instance "${props.database.instance.name}".` ++ (isDBAOrOwner(currentUser.value.role)+ ? ""+ : " Please contact your DBA to config it.")+ );} else if (state.migrationSetupStatus == "UNKNOWN") {- return `Unable to connect instance "${props.database.instance.name}" to retrieve migration history`;+ return (+ `Unable to connect instance "${props.database.instance.name}" to retrieve migration history.` ++ (isDBAOrOwner(currentUser.value.role)+ ? ""+ : " Please contact your DBA to config it.")+ );}return "";});