merge: candidate swboot-closeout-2026-09-26-r2 into dev

This commit is contained in:
weichen
2026-09-26 00:59:21 +00:00
+1 -1
View File
@@ -337,7 +337,7 @@ func (s *pgStore) SaveProjectSourceBinding(ctx context.Context, projectID int64,
return fmt.Errorf("invalid project source binding")
}
_, err := s.pool.Exec(ctx, `
INSERT INTO project_source_bindings (project_id, source_type, repo_path, permission_scope, created_by)
INSERT INTO project_source_bindings (project_id, source_type, source_ref, permission_scope, created_by)
VALUES ($1, 'git', $2, $3, NULLIF($4,0))
ON CONFLICT DO NOTHING
`, projectID, strings.TrimSpace(repoPath), permissionScope, createdBy)