Skip to content

Replace hardcoded table names for ci_builds

Marius Bobin requested to merge 382033-replace-hardcoded-table-name into master

What does this MR do and why?

We're working towards adding new partitions for the ci_builds table and we need to make sure that all of the SQL queries use the right table name as defined by the model. This is how we'll switch to the partitioned table.

Extracted out of !122919 (merged) in which the table name is changed.

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.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #382033 (closed)

Edited by Marius Bobin

Merge request reports