Backfill `issue_links` based on `related_epic_links` table records
Iterate over `related_epic_links` table and create corresponding records in the `issue_links` table.
In order to sync `related_epic_links` records into `issue_links` we need to find the corresponding `epics.issue_id` for every `related_epic_links.source_id` and `related_epic_links.target_id` which would be mapped to corresponding `issue_links.source_id` and `issue_links.target_id` respectivelly.
This migration will have 2 parts:
- Enqueue the backfilling migration
- Finalise the backfilling migration
This migration is blocked by https://gitlab.com/groups/gitlab-org/-/epics/12740+ migration as we need to make sure that every epic has a corresponding record in issues table.
epic