Skip to content

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

fix: baseline only needs conn check (#7770)

p0ny0ac15585f67a
diff --git a/backend/api/v1/rollout_service_plan_check.go b/backend/api/v1/rollout_service_plan_check.go
index fcf7984058..c3e1015490 100644
--- a/backend/api/v1/rollout_service_plan_check.go
+++ b/backend/api/v1/rollout_service_plan_check.go
@@ -250,6 +250,11 @@ func getPlanCheckRunsFromChangeDatabaseConfigForDatabase(ctx context.Context, s
DatabaseGroupUid: nil,
},
})
+
+ if config.Type == storepb.PlanConfig_ChangeDatabaseConfig_BASELINE || config.Type == storepb.PlanConfig_ChangeDatabaseConfig_BRANCH {
+ return planCheckRuns, nil
+ }
+
planCheckRuns = append(planCheckRuns, &store.PlanCheckRunMessage{
CreatorUID: api.SystemBotID,
UpdaterUID: api.SystemBotID,