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: support SDL for tenant mode GitOps (#4994)
rebeliceab9405916d2b
diff --git a/backend/server/webhook.go b/backend/server/webhook.goindex 28fd186a5f..b3d85466ae 100644--- a/backend/server/webhook.go+++ b/backend/server/webhook.go@@ -1061,7 +1061,7 @@ func (s *Server) readFileContent(ctx context.Context, pushEvent vcs.PushEvent, r// schema details derived from the given push event for SDL.func (s *Server) prepareIssueFromSDLFile(ctx context.Context, repo *api.Repository, pushEvent vcs.PushEvent, schemaInfo *db.MigrationInfo, file string) ([]*api.MigrationDetail, []*api.ActivityCreate) {dbName := schemaInfo.Database- if dbName == "" {+ if dbName == "" && repo.Project.TenantMode == api.TenantModeDisabled {log.Debug("Ignored schema file without a database name", zap.String("file", file))return nil, nil}