Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
feat(frontend): remove gh-ost release guard (#1904)
Liu Jiaa3427202089
diff --git a/frontend/src/components/AlterSchemaPrepForm/AlterSchemaPrepForm.vue b/frontend/src/components/AlterSchemaPrepForm/AlterSchemaPrepForm.vueindex 22205fc5f9..f3745deb0d 100644--- a/frontend/src/components/AlterSchemaPrepForm/AlterSchemaPrepForm.vue+++ b/frontend/src/components/AlterSchemaPrepForm/AlterSchemaPrepForm.vue@@ -105,7 +105,7 @@ import {Repository,UNKNOWN_ID,} from "@/types";-import { allowGhostMigration, isDev, sortDatabaseList } from "@/utils";+import { allowGhostMigration, sortDatabaseList } from "@/utils";import VCSTipsInfo from "./VCSTipsInfo.vue";import ProjectStandardView, {State as ProjectStandardState,@@ -230,10 +230,6 @@ export default defineComponent({// 'online' -> online migration// false -> user clicked cancel buttonconst isUsingGhostMigration = async (databaseList: Database[]) => {- if (!isDev()) {- return "normal";- }-// never available for "bb.issue.database.data.update"if (props.type === "bb.issue.database.data.update") {return "normal";diff --git a/frontend/src/views/DatabaseDetail.vue b/frontend/src/views/DatabaseDetail.vueindex 859459b0f8..d06fff9c6c 100644--- a/frontend/src/views/DatabaseDetail.vue+++ b/frontend/src/views/DatabaseDetail.vue@@ -295,7 +295,6 @@ import {connectionSlug,hidePrefix,allowGhostMigration,- isDev,} from "@/utils";import {ProjectId,@@ -475,10 +474,6 @@ const tryTransferProject = () => {// 'online' -> online migration// false -> user clicked cancel buttonconst isUsingGhostMigration = async (databaseList: Database[]) => {- if (!isDev()) {- return "normal";- }-// check if all selected databases supports gh-ostif (allowGhostMigration(databaseList)) {// open the dialog to ask the user