Skip to content

Add source_xid to BulkImports::Entity table

What does this MR do and why?

This MR adds source_xid column to bulk_import_entities table. This table is low volume (7k rows).

It's going to be used in the future MR in order to capture source id of project/group from source GitLab instance that is requested to be migrated.

Migration output
main: == 20220916094641 AddSourceIdToBulkImportEntities: migrating ==================
main: -- add_column(:bulk_import_entities, :source_xid, :integer)
main:    -> 0.0019s
main: == 20220916094641 AddSourceIdToBulkImportEntities: migrated (0.0024s) =========

ci: == 20220916094641 AddSourceIdToBulkImportEntities: migrating ==================
ci: -- add_column(:bulk_import_entities, :source_xid, :integer)
ci:    -> 0.0008s
ci: == 20220916094641 AddSourceIdToBulkImportEntities: migrated (0.0008s) =========

db:gitlabcom-database-testing job passed https://gitlab.com/gitlab-org/gitlab/-/jobs/3040150108

Mentions #367915 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by George Koltsov

Merge request reports

Loading