Swap notes.id to bigint for GitLab.com
What does this MR do and why?
This MR finalizes the conversion to bigint for notes.id
for Gitlab.com, development
and test
environments, following the process outlined here.
It takes the following steps:
- Ensure the migration from
id
toid_convert_to_bigint
is complete - Create the new indexes and foreign keys for the swap to the bigint column
- Swap the columns
The above will be introduced for self-managed in %16.0 and later releases.
This MR is based on !65201 (diffs), with some changes. One thing to mention is that notes.id
will be copied to events.target_type_id
, which is still integer
, but we thing this will not be a problem, see #392815 (comment 1399015040).
See #392815 (closed).
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.
-
I have evaluated the MR acceptance checklist for this MR.