Assign events without parent to author's namespace

What does this MR do and why?

When event has no project or group assigned, link it to the author's personal namespace, so that we can shard the table on one of e, e, or personal_namespace_id.

See #462801 (closed).

MR acceptance checklist

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

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #462801 (closed)

Edited by Krasimir Angelov

Merge request reports

Loading