Skip to content

Adding p_ci_build_names table and model

Max Fan requested to merge 423904_add_build_names_table_and_model into master

What does this MR do and why?

This MR introduces a p_ci_build_names table. This is to enable searching on build names, as adding an index to p_build_names is not possible to do at this point.

Eventually we want to do a query like: #423904 (comment 1790317452) - But that's for another MR

This MR only setups the table and the models.

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.

Before After

How to set up and validate locally

  1. Run the database migrations
  2. Since the application logic isn't linked up.
  3. You can use the console to create a Ci::BuildName record. Populate it, and on save it triggers and generates the search_vector column
Edited by Max Fan

Merge request reports