Skip to content

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

chore: use env resource id as the default stage name (#15409)

p0ny4b6191f231dd
diff --git a/backend/store/deploy.go b/backend/store/deploy.go
index 48713437b3..1c529cfcef 100644
--- a/backend/store/deploy.go
+++ b/backend/store/deploy.go
@@ -126,7 +126,7 @@ func (s *Store) getDefaultDeploymentConfigV2(ctx context.Context) (*DeploymentCo
var deployments []*storepb.ScheduleDeployment
for i, environment := range environmentList {
deployments = append(deployments, &storepb.ScheduleDeployment{
- Title: fmt.Sprintf("%s Stage", environment.Title),
+ Title: environment.ResourceID,
// Use index rather than uuid to ensure consistent Id for the default deployment config.
Id: fmt.Sprintf("%d", i),
Spec: &storepb.DeploymentSpec{