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: enable schema sync for all plans and add it to the plan table (#3181)
Tianzhou (天舟)17c0ebaf508a
diff --git a/api/plan.go b/api/plan.goindex da6d064051..be75a78272 100644--- a/api/plan.go+++ b/api/plan.go@@ -209,7 +209,7 @@ var FeatureMatrix = map[FeatureType][3]bool{// Database managementFeaturePITR: {false, true, true},FeatureReadReplicaConnection: {false, false, true},- FeatureSyncSchema: {false, false, true},+ FeatureSyncSchema: {true, true, true},// Policy ControlFeatureApprovalPolicy: {false, true, true},FeatureBackupPolicy: {false, true, true},diff --git a/frontend/src/locales/subscription/en-US.json b/frontend/src/locales/subscription/en-US.jsonindex 5b21f01916..e51317b465 100644--- a/frontend/src/locales/subscription/en-US.json+++ b/frontend/src/locales/subscription/en-US.json@@ -79,7 +79,8 @@"schedule-change": "Scheduled change at specific time","review-and-backup-policy": "Review and backup policy","tenancy": "Multi-Region / Multi-Tenancy deployment",- "read-replica": "Separate connection for read-only operations"+ "read-replica": "Separate connection for read-only operations",+ "sync-schema": "Synchronize schema between databases"}},"collaboration": {diff --git a/frontend/src/locales/subscription/zh-CN.json b/frontend/src/locales/subscription/zh-CN.jsonindex 2e55b526a0..7fb44c0332 100644--- a/frontend/src/locales/subscription/zh-CN.json+++ b/frontend/src/locales/subscription/zh-CN.json@@ -78,7 +78,8 @@"schedule-change": "设定任务执行时间","review-and-backup-policy": "审核和备份策略","tenancy": "多地域/多租户部署",- "read-replica": "为只读操作提供单独连接"+ "read-replica": "为只读操作提供单独连接",+ "sync-schema": "库表同步"}},"collaboration": {diff --git a/frontend/src/types/plan.ts b/frontend/src/types/plan.tsindex b95e99ff2d..6136f1de53 100644--- a/frontend/src/types/plan.ts+++ b/frontend/src/types/plan.ts@@ -92,7 +92,7 @@ export const FEATURE_MATRIX: Map<FeatureType, boolean[]> = new Map([// Database management["bb.feature.pitr", [false, true, true]],["bb.feature.read-replica-connection", [false, false, true]],- ["bb.feature.sync-schema", [false, false, true]],+ ["bb.feature.sync-schema", [true, true, true]],// Policy Control["bb.feature.approval-policy", [false, true, true]],["bb.feature.backup-policy", [false, true, true]],diff --git a/frontend/src/types/plan.yaml b/frontend/src/types/plan.yamlindex 90fb1c4c47..936294b650 100644--- a/frontend/src/types/plan.yaml+++ b/frontend/src/types/plan.yaml@@ -3,6 +3,7 @@ categoryList:featureList:- instance-count- schema-change+ - sync-schema- migration-history- sql-editor- disaster-recovery@@ -45,6 +46,7 @@ planList:- type: schema-changecontent: schema-change-basictooltip: schema-change-basic-tooltip+ - type: sync-schema- type: migration-history- type: sql-editor- type: disaster-recovery@@ -83,6 +85,7 @@ planList:- type: schema-changecontent: schema-change-advancedtooltip: schema-change-advanced-tooltip+ - type: sync-schema- type: migration-history- type: sql-editor- type: disaster-recovery@@ -127,6 +130,7 @@ planList:- type: schema-changecontent: schema-change-advancedtooltip: schema-change-advanced-tooltip+ - type: sync-schema- type: migration-history- type: sql-editor- type: disaster-recovery