Rename destination_name column to destination_slug for bulk imports on db level
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Related to #365166 (closed)
We added a new field to Bulk Imports API destination_slug to be used in favour of destination_name. However, on the database level, the column is still called destination_name. We should rename it on the database level for consistency.
In the related issue, @carlad-gl suggested an implementation plan:
-
add a destination_slugcolumn to thebulk_import_entitiestable on the database -
populate each row's destination_slugwith the data from thedestination_namecolumn -
change any occurrence of destination_slugin the bulk_importer and api todestination_path, for both Groups and Projects -
delete the destination_namecolumn -
update the api documentation (both REST and GraphQL) -
update the UI (see #347510) to clarify that the input field is for a slugnot aname
Edited by 🤖 GitLab Bot 🤖