Skip to content

Populate organization_id for AbuseReportEvent

What does this MR do and why?

In Add organization_id to abuse_report_events table (!202284 - merged) we added organization_id for abuse_report_events table. This MR starts setting this value for created abuse report events. This is second step of setting sharding key to make the table cells-compatible

The validation is behind derisk feature flag, same as !201976 (merged), just for case I missed a record creation.

It also adds validation for AntiAbuse::Reports::UserMention - we don't have any records in the table and we don't use this table yet.

All tasks of the issue

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 #563108 (closed)

Edited by Jarka Košanová

Merge request reports

Loading