Skip to content

Fix migrations bug through overriding ConvertToBigint

Baodong请求将fix/com_or_dev_or_test_but_not_jh合并到main-jh

What does this MR do and why?

Fix for #2718 (closed)

Let JH's pipeline (test environment) also execute the migration in MR:

This will ensure that the structure.sql and migrations are consistent in the JH pipelines (test environment).

Screenshots or screen recordings

How to set up and validate locally

Start Rails console in GDK env:

include Gitlab::Database::MigrationHelpers::ConvertToBigint

puts com_or_dev_or_test_but_not_jh?
# true

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Baodong 编辑于

合并请求报告

加载中