Add NOT NULL (NOT VALID) constraint to approval_merge_request_rules_users#project_id

What does this MR do and why?

Add NOT NULL (NOT VALID) constraint to approval_merge_request_rules_users#project_id

Epic: &11670

Preventing new rows from being inserted with a NULL sharding key.

The backfill of existing rows is being done in !197054 (merged).

MR acceptance checklist

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

Merge request reports

Loading