Skip to content

Remove partition_id default for p_ci_builds_metadata

What does this MR do and why?

It removes the default value for partition_id from p_ci_builds_metadata since we're supplying the value all the time from the application side and keeping the database values in sync is unfeasible.

https://docs.gitlab.com/ee/development/database/avoiding_downtime_in_migrations.html#changing-column-defaults

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.

Related to #377822 (closed)

Edited by Tianwen Chen

Merge request reports