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: update sync schema description (#11761)
boojack57a81c8e2ecd
diff --git a/frontend/src/components/SyncDatabaseSchema/DatabaseSchemaSelector.vue b/frontend/src/components/SyncDatabaseSchema/DatabaseSchemaSelector.vueindex a0e7e712c9..31d8c18001 100644--- a/frontend/src/components/SyncDatabaseSchema/DatabaseSchemaSelector.vue+++ b/frontend/src/components/SyncDatabaseSchema/DatabaseSchemaSelector.vue@@ -32,7 +32,8 @@:database="state.databaseId":environment="state.environmentId":project="state.projectId"- :placeholder="$t('database.sync-schema.select-database-placeholder')"+ :placeholder="$t('db.select')"+ :allowed-engine-type-list="allowedEngineTypeList":fallback-option="false"@update:database="handleDatabaseSelect"/>@@ -93,6 +94,7 @@ import {useDBSchemaV1Store,} from "@/store";import { UNKNOWN_ID } from "@/types";+import { Engine } from "@/types/proto/v1/common";import type { ChangeHistory } from "@/types/proto/v1/database_service";import {ChangeHistoryView,@@ -162,6 +164,13 @@ const allowedMigrationTypeList: ChangeHistory_Type[] = [ChangeHistory_Type.BRANCH,];+const allowedEngineTypeList: Engine[] = [+ Engine.MYSQL,+ Engine.POSTGRES,+ Engine.TIDB,+ Engine.ORACLE,+];+const isValidId = (id: any): id is string => {if (isNull(id) || isUndefined(id) || String(id) === String(UNKNOWN_ID)) {return false;diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex 9a39509474..cda5e9ba9f 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -1645,13 +1645,12 @@"select-databases-from-same-project": "Please select databases from the same project","sync-schema": {"title": "Sync Schema",- "description": "Bytebase supports synchronizing a schema to one or multiple target databases.",+ "description": "Bytebase supports synchronizing a schema to one or multiple target databases. (MySQL, PostgreSQL, TiDB, Oracle only)","schema-history-version": "Schema History Version","copy-schema": "Copy schema","select-source-schema": "Select source schema","select-target-databases": "Select target databases","select-project": "Select project",- "select-database-placeholder": "Select database (MySQL, PostgreSQL, TiDB, Oracle only)","source-database": "Source database","source-schema": "Source schema","schema-version": {diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex 8970b3db8c..484ec372f3 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -1645,13 +1645,12 @@"select-databases-from-same-project": "Por favor seleccione bases de datos del mismo proyecto","sync-schema": {"title": "Sincronizar esquema",- "description": "Bytebase admite la sincronización de un esquema con una o varias bases de datos de destino",+ "description": "Bytebase admite la sincronización de un esquema con una o varias bases de datos de destino. (Solo MySQL, PostgreSQL, TiDB, Oracle)","schema-history-version": "Versión del historial de esquema","copy-schema": "Copiar esquema","select-source-schema": "Seleccione el esquema de origen","select-target-databases": "Seleccione las bases de datos de destino","select-project": "Seleccione el proyecto",- "select-database-placeholder": "Seleccionar base de datos (sólo MySQL, PostgreSQL, TiDB, Oracle)","source-database": "Base de datos de origen","source-schema": "Esquema de origen","schema-version": {diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.jsonindex 39a72fa146..46121cf0d4 100644--- a/frontend/src/locales/ja-JP.json+++ b/frontend/src/locales/ja-JP.json@@ -1645,13 +1645,12 @@"select-databases-from-same-project": "同じプロジェクト内のデータベースを選択してください","sync-schema": {"title": "データベーステーブルの同期",- "description": "Bytebase は、指定されたスキーマと 1 つ以上のターゲット データベースの同期をサポートします。",+ "description": "Bytebase は、スキーマを 1 つまたは複数のターゲット データベースに同期することをサポートします。(MySQL、PostgreSQL、TiDB、Oracle のみ)","schema-history-version": "スキーマの履歴バージョン","copy-schema": "スキーマテキストを貼り付け","select-source-schema": "ソーススキーマの選択","select-target-databases": "ターゲットデータベースを選択してください","select-project": "アイテムを選択",- "select-database-placeholder": "データベースの選択 (MySQL、PostgreSQL、TiDB、Oracle のみ)","source-database": "ソースデータベース","source-schema": "ソーススキーマ","schema-version": {@@ -3427,4 +3426,4 @@"drop-partition-with-subpartitions-confirm": "すべてのサブパーティションが同時に削除されます。"}}-}+}\ No newline at end of filediff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.jsonindex 04d28ead38..f1387ec167 100644--- a/frontend/src/locales/vi-VN.json+++ b/frontend/src/locales/vi-VN.json@@ -1645,13 +1645,12 @@"select-databases-from-same-project": "Vui lòng chọn cơ sở dữ liệu từ cùng một dự án","sync-schema": {"title": "Lược đồ đồng bộ hóa",- "description": "Bytebase hỗ trợ đồng bộ hóa lược đồ với một hoặc nhiều cơ sở dữ liệu đích.",+ "description": "Bytebase hỗ trợ đồng bộ hóa lược đồ với một hoặc nhiều cơ sở dữ liệu đích. (Chỉ MySQL, PostgreSQL, TiDB, Oracle)","schema-history-version": "Phiên bản lịch sử lược đồ","copy-schema": "Sao chép lược đồ","select-source-schema": "Chọn lược đồ nguồn","select-target-databases": "Chọn cơ sở dữ liệu đích","select-project": "Chọn dự án",- "select-database-placeholder": "Chọn cơ sở dữ liệu (chỉ MySQL, PostgreSQL, TiDB, Oracle)","source-database": "Cơ sở dữ liệu nguồn","source-schema": "Lược đồ nguồn","schema-version": {diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex 5f1a3cec98..d07a30e4b5 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -1645,13 +1645,12 @@"select-databases-from-same-project": "请选择同一个项目下的数据库","sync-schema": {"title": "库表同步",- "description": "Bytebase 支持将一个指定的 Schema 同步到一个或多个目标数据库。",+ "description": "Bytebase 支持将一个指定的 Schema 同步到一个或多个目标数据库。(支持 MySQL、PostgreSQL、TiDB 以及 Oracle)","schema-history-version": "Schema 历史版本","copy-schema": "粘贴 Schema 文本","select-source-schema": "选择源 Schema","select-target-databases": "选择目标数据库","select-project": "选择项目",- "select-database-placeholder": "选择数据库 (仅限 MySQL, PostgreSQL, TiDB, Oracle)","source-database": "源数据库","source-schema": "源 Schema","schema-version": {