diff --git a/rubocop/cop/migration/with_lock_retries_disallowed_method.rb b/rubocop/cop/migration/with_lock_retries_disallowed_method.rb
index e019e5bd0cf3bcd3ea89b4b3a6e5fae9dead8e52..e5278f0b7e7eed3ec60ef4134e0d872929c7ce29 100644
--- a/rubocop/cop/migration/with_lock_retries_disallowed_method.rb
+++ b/rubocop/cop/migration/with_lock_retries_disallowed_method.rb
@@ -37,6 +37,7 @@ class WithLockRetriesDisallowedMethod < RuboCop::Cop::Base
           reset_trigger_function
           cleanup_conversion_of_integer_to_bigint
           revert_initialize_conversion_of_integer_to_bigint
+          validate_foreign_key
         ].sort.freeze
 
         MSG = "The method is not allowed to be called within the `with_lock_retries` block, the only allowed methods are: #{ALLOWED_MIGRATION_METHODS.join(', ')}".freeze