Adding not-null project id constraint for builds

What does this MR do and why?

Adding not-null project id constraint for builds. It's validate: false because this table is huge and takes a while. This is following the process outlined in: https://docs.gitlab.com/ee/development/database/not_null_constraints.html#not-null-constraints-on-large-tables

!158480 (merged)

This affects both (p_)ci_builds tables and is needed for cells

Changelog: changed

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.

Related to #463406 (closed)

Edited by drew stachon

Merge request reports

Loading