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-issuework-item-issue).

References

References links

How to set up and validate locally

  1. Open Rails console using rails c.
  2. Check current icon names in database WorkItems::Type.all.pluck(:name, :icon_name).
  3. Run the migration using bundle exec rails db:migrate.
  4. Verify the migration was successful using WorkItems::Type.all.pluck(:name, :icon_name).
  5. 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)

Merge request reports

Loading