Applying patch file 045-Create-Table-Column-Reordering-Suggestions.patch fails

Problem

Git patch application failure during database testing pipeline

The database testing pipeline is failing when applying patch file 045-Create-Table-Column-Reordering-Suggestions.patch. The git apply process encounters an error with SHA1 information for the .rubocop_todo/migration/ensure_factory_for_table.yml file, preventing the patch from being applied successfully.

Job log: https://ops.gitlab.net/gitlab-com/database-team/gitlab-com-database-testing/-/jobs/21622860

Solution

Possibly removing changes to migration/ensure_factory_for_table.yml and re-generating the patch.

Edited by Allison Browne