Skip to content

Add migration helpers to revert conversion to bigint

Krasimir Angelov requested to merge 328600-revert-bigint-conversion-helpers into master

What does this MR do?

Add two new migration helpers:

  • revert_initialize_conversion_of_integer_to_bigint
  • revert_backfill_conversion_of_integer_to_bigint

to help with PK migration.

There is also nother helper method added (convert_to_bigint_column) that's used internally.

See #328600 (closed).

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #328600 (closed)

Edited by Krasimir Angelov

Merge request reports