Deduplicate lock-retries helpers in migration modules
The with_lock_retries
helper is defined in two places:
Gitlab::Database::SchemaHelpers
Gitlab::Database::MigrationHelpers
See !100169 (comment 1123843787) for an overview
Both often get included in the same module, leading to duplication. We should remove one.