Skip to content
代码片段 群组 项目
未验证 提交 46c28fa3 编辑于 作者: Tianwen Chen's avatar Tianwen Chen 提交者: GitLab
浏览文件

Rubocop allow validate_foreign_key in with_lock_retries

上级 a028b474
No related branches found
No related tags found
无相关合并请求
......@@ -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
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册