Populate organization_id for abuse reports
What does this MR do and why?
In Add organization_id to abuse_reports table (!201276 - merged) we added organization_id
for abuse_reports
table. This MR starts setting this value for created abuse reports. This is second step of setting sharding key to make the table cells-compatible
The validation is behind derisk
feature flag, same as !203659 (merged), just for case I missed a record creation.
All tasks of the issue:
-
Add organization_id column to abuse_reports table (#561343 - closed)
✅ - Populate organization_id in abuse_report (#561344 - closed) (This MR)
- Backfill organization_id column in abuse_report... (#561345 - closed)
- Add sharding_key to abuse_reports table definition (#561347 - closed)
- Set abuse_reports.organization_id as not null (#561466)
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.
Related to #561344 (closed)
Edited by Jarka Košanová