Backfill namespace_traversal_ids on issues table
What does this MR do and why?
Backfill namespace_traversal_ids on issues table
Adds the batched background migration for namespace_traversal_ids on the issues table.
Changelog: added
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
Before the migration
WorkItem.all.map(&:namespace_traversal_ids) # should be `[]` if you didn't transfer the project recently
After the migration
WorkItem.all.map(&:namespace_traversal_ids) # should be `[..namespace ids..]`
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Nicolas Dular