@@ -35,6 +35,8 @@ class WithLockRetriesDisallowedMethod < RuboCop::Cop::Base
...
@@ -35,6 +35,8 @@ class WithLockRetriesDisallowedMethod < RuboCop::Cop::Base
swap_foreign_keys
swap_foreign_keys
swap_indexes
swap_indexes
reset_trigger_function
reset_trigger_function
cleanup_conversion_of_integer_to_bigint
revert_initialize_conversion_of_integer_to_bigint
].sort.freeze
].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
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