Skip to content

Enforce not-null constraint vs_code_settings uuid

Enrique Alcántara requested to merge 428031-enforce-presence-uuid into master

What does this MR do and why?

It enforces a NOT NULL constraint on the uuid 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 uuid column. !138355 (merged)
  2. Finalize the batched background migration !145138 (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