Skip to content

Use table_name in SQL queries for Ci::BuildMetadata

Marius Bobin requested to merge 373239-replace-hardcoded-table-names into master

What does this MR do and why?

Related to #373239 (closed)

It replaces the usage of ci_builds_metadata with Ci::BuildMetadata.table_name or Ci::BuildMetadata.quoted_table_name because we're planning to partition that table and it will be renamed to p_ci_builds_metadata.

Split out of !100115 (merged)

Screenshots or screen recordings

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

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.

Edited by Marius Bobin

Merge request reports