Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat: move schema drift detection from TEAM to Enterprise (#4419)

Tianzhou (天舟)29b9d05a969b
diff --git a/backend/legacyapi/plan.go b/backend/legacyapi/plan.go
index 7ead6c3de0..15d515f7e4 100644
--- a/backend/legacyapi/plan.go
+++ b/backend/legacyapi/plan.go
@@ -238,7 +238,7 @@ var featureMatrix = map[FeatureType][3]bool{
FeatureIMApproval: {false, false, true},
FeatureMultiTenancy: {false, false, true},
FeatureOnlineMigration: {false, true, true},
- FeatureSchemaDrift: {false, true, true},
+ FeatureSchemaDrift: {false, false, true},
FeatureSQLReview: {true, true, true},
FeatureTaskScheduleTime: {false, true, true},
// VCS Integration
diff --git a/frontend/src/locales/subscription/en-US.json b/frontend/src/locales/subscription/en-US.json
index f617084b71..1ec06ee6d3 100644
--- a/frontend/src/locales/subscription/en-US.json
+++ b/frontend/src/locales/subscription/en-US.json
@@ -81,7 +81,7 @@
"anomaly-detection-basic": "Basic",
"anomaly-detection-basic-tooltip": "Connection failure, missing backup",
"anomaly-detection-advanced": "Advanced",
- "anomaly-detection-advanced-tooltip": "Basic + Drift detection",
+ "anomaly-detection-advanced-tooltip": "Basic + Schema drift detection",
"schedule-change": "Scheduled change at specific time",
"review-and-backup-policy": "Review and backup policy",
"tenancy": "Multi-Region / Multi-Tenancy deployment",
diff --git a/frontend/src/types/plan.ts b/frontend/src/types/plan.ts
index a186eea604..d7b632decf 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([
["bb.feature.im.approval", [false, false, true]],
["bb.feature.multi-tenancy", [false, false, true]],
["bb.feature.online-migration", [false, true, true]],
- ["bb.feature.schema-drift", [false, true, true]],
+ ["bb.feature.schema-drift", [false, false, true]],
["bb.feature.sql-review", [true, true, true]],
["bb.feature.task-schedule-time", [false, true, true]],
// VCS Integration
diff --git a/frontend/src/types/plan.yaml b/frontend/src/types/plan.yaml
index 2c1cf6ab9f..e8e66ef6fc 100644
--- a/frontend/src/types/plan.yaml
+++ b/frontend/src/types/plan.yaml
@@ -120,8 +120,8 @@ planList:
content: sql-check-advanced
tooltip: sql-check-advanced-tooltip
- type: anomaly-detection
- content: anomaly-detection-advanced
- tooltip: anomaly-detection-advanced-tooltip
+ content: anomaly-detection-basic
+ tooltip: anomaly-detection-basic-tooltip
- type: schedule-change
- type: review-and-backup-policy
- type: seat-count