Skip to content

Redefine referenced FK ci_job_artifacts for self managed

Ref: #435801 (closed)

What does this MR do and why?

Following up !140187 (merged) where we created those FKs for gitlab.com.

This MR creates those FKs for self-managed and it will be a no-op for ~SaaS.

Why are we doing this?

Necessary step in order to partition ci_job_artifacts as each referenced FK must include the partition key, as explained in our documentation.

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.

Edited by Max Orefice

Merge request reports

Loading