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: allow DDL for mongodb (create collections) (#5722)
Danny Xu80ee6738559b
diff --git a/backend/server/issue.go b/backend/server/issue.goindex 3b9f0b5179..9d54b8b635 100644--- a/backend/server/issue.go+++ b/backend/server/issue.go@@ -858,10 +858,6 @@ func (s *Server) getPipelineCreateForDatabaseSchemaAndDataUpdate(ctx context.Conif instance == nil {return nil, echo.NewHTTPError(http.StatusNotFound, fmt.Sprintf("instance not found for database %v", d.DatabaseID))}- if instance.Engine == db.MongoDB && d.MigrationType != db.Data && d.MigrationType != db.Baseline {- // We disallow user to create non-data migration for MongoDB.- return nil, echo.NewHTTPError(http.StatusBadRequest, "Cannot create non-data migration for MongoDB, consider using data migration(DML) instead.")- }matrix, err := utils.GetDatabaseMatrixFromDeploymentSchedule(deploySchedule, []*store.DatabaseMessage{database})if err != nil {return nil, echo.NewHTTPError(http.StatusInternalServerError, "Failed to build deployment pipeline").SetInternal(err)