Add NOT NULL constraint for project_id in x509 tables
What does this MR do and why?
Contributes to #553481
After migration is finalized -
!207068 (merged), all
records in x509_issuers and x509_certificates tables should have
project_id set.
Changes:
- Add NOT NULL constraint for
project_idcolumns - Add Rails validation to ensure
project_idis present
References
Sharding Key Implementation for `x509_issuers` ... (#553481)
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.
Related to #553481