Database migration to update existing work_item_types records
What does this MR do and why?
The icon naming convention for work items was updated in the WorkItems::Type::BASE_TYPES constant to use work-item-* instead of issue-type-* (e.g., issue-type-issue → work-item-issue).
References
References links
How to set up and validate locally
- Open Rails console using
rails c. - Check current icon names in database
WorkItems::Type.all.pluck(:name, :icon_name). - Run the migration using
bundle exec rails db:migrate. - Verify the migration was successful using
WorkItems::Type.all.pluck(:name, :icon_name). - Should now show new icon names like
work-item-issue,work-item-incident, etc.
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.
Related to #580957 (closed)