Skip to content

Add project_id for ci_deleted_events

Max Orefice requested to merge morefice/add-sharding-key-ci-deleted-objects into master

Ref: #463245

What does this MR do and why?

This MR adds project_id for ci_deleted_events as this is a requirement for Cells1.0.

We can't backfill the data here as we can't have FKs on this table since the artifacts rows are already deleted when they are inserted, see here.

We will have to wait until all records have a project_id and drop the existing invalid records.

Edited by Max Orefice

Merge request reports

Loading