Skip to content

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

fix(SDL): replace use of nil migrationInfo (#2571)

Joe Chenfc1444c3fd0a
diff --git a/server/webhook.go b/server/webhook.go
index 20b81a15f4..35df22e431 100644
--- a/server/webhook.go
+++ b/server/webhook.go
@@ -584,7 +584,7 @@ func (s *Server) createIssueFromPushEvent(ctx context.Context, pushEvent vcs.Pus
if repo.Project.TenantMode == api.TenantModeTenant {
updateSchemaDetails = append(updateSchemaDetails,
&api.UpdateSchemaDetail{
- DatabaseName: migrationInfo.Database,
+ DatabaseName: dbName,
Statement: content,
},
)