Skip to content

Add migration to add project_id to ci_build_needs table

Rajendra Kadam requested to merge 466438-project-id-to-ci-builds-table into master

What does this MR do and why?

Addresses: #466438 (closed)

Adds project_id to ci_build_needs table along with index on project_id.

Backfills ci_build_needs table for project_id, setting it to ci_build_need.build.project_id in a post deployment migration

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

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

Before After

How to set up and validate locally

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

Related to #466438 (closed)

Merge request reports

Loading