Skip to content

Remove partition_id default from ci_builds

Marius Bobin requested to merge 377822-remove-default-value-from-ci-builds into master

What does this MR do and why?

It removes the default value for partition_id from ci_builds 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

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 Max Orefice

Merge request reports