Skip to content

Enforce not-null constraint vs_code_settings version

What does this MR do and why?

It enforces a NOT NULL constraint on the version column of the vs_code_settings table. This is the last step in the process described in the database documentation https://docs.gitlab.com/ee/development/database/not_null_constraints.html. The previous steps were:

  1. Implement a batched background migration to ensure that existing rows have a value in the version column.  !140091 (merged)
  2. Finalize the batched background migration  !148367 (merged)

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.

Related to  #428031 (closed)

Edited by Enrique Alcántara

Merge request reports