Add NOT NULL for sharding key on dast_site_profiles_builds
Adds NOT NULL constraint on sharding key column project_id on table: dast_site_profiles_builds.
This merge request is the last step towards transforming the desired sharding key into a sharding key.
This involves the following changes:
- Adding a not null constraint for the sharding key column (
project_id). - Setting
project_idassharding_keyofdast_site_profiles_builds.
References
Prerequisite migrations done and finalized: 15eb6afe 49960c40
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
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.
Edited by Chen Zhang