Add project_id column to p_ci_finished_build_ch_sync_events
What does this MR do and why?
This MR adds a project_id
column to p_ci_finished_build_ch_sync_events
to serve as a sharding key for Cells 1.0. The column will have a default value of -1 (irrelevant right now since we'll only use this value later on in Cells 1.0, and these records have a maximum lifetime of 30 days).
- EE: true
- Changelog: added
Part of #459997 (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.
n/a
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
n/a
Edited by Pedro Pombeiro - OOO from Oct 13-24