Cleanly handle plural name for ghost user migration
What does this MR do?
Use pluralize to cleanly handle Class plural name for associations that must be migrated to ghost user
This is actually a port of a fix made in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5452
Why was this MR needed?
Some associations are using uncountable name and have a plural form without an ending s
.
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added -
Tests added for this feature/bug - Review
-
Has been reviewed by UX -
Has been reviewed by Frontend -
Has been reviewed by Backend -
Has been reviewed by Database
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Squashed related commits together -
Internationalization required/considered -
End-to-end tests pass ( package-and-qa
manual pipeline job)
What are the relevant issue numbers?
Edited by Olivier Gonzalez