Skip to content
代码片段 群组 项目
未验证 提交 fc5abd0b 编辑于 作者: Michael Becker's avatar Michael Becker
浏览文件

[Batched Migration] Fix corrupted scanner_ids of vulnerability_reads

There was a bug in production where the `scanner_id` of a
vulnerability finding would be updated, yet the `scanner_id` of the
related `vulnerability_read` would remain unchanged. This was an issue
as the `vulnerability_read` should always be in sync with the
`vulnerability_finding`.

The bug has already been [fixed in production][0], so now we need a
migration to fix all of the `vulnerability_reads` that were affected
by the bug.

[0]:https://gitlab.com/gitlab-org/gitlab/-/merge_requests/148016

---

MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/148807
Related to: https://gitlab.com/gitlab-org/gitlab/-/issues/454290
resolves: https://gitlab.com/gitlab-org/gitlab/-/issues/454827

Changelog: fixed
EE: true
上级 624d04a3
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册