diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-06 18:09:23 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-06 18:09:23 +0300 |
commit | 2e1b10493f9ed9685eb892ab747335983e58f154 (patch) | |
tree | f5d4cbee99cd3aec51e90e1725d95616d3d07859 /rubocop/cop | |
parent | ebed39e3cedad74e1a1ee4e8d33adfb8bbdc7040 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'rubocop/cop')
-rw-r--r-- | rubocop/cop/migration/with_lock_retries_disallowed_method.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rubocop/cop/migration/with_lock_retries_disallowed_method.rb b/rubocop/cop/migration/with_lock_retries_disallowed_method.rb index f423bde8343..cb36e7413ab 100644 --- a/rubocop/cop/migration/with_lock_retries_disallowed_method.rb +++ b/rubocop/cop/migration/with_lock_retries_disallowed_method.rb @@ -27,6 +27,7 @@ module RuboCop foreign_key_exists? index_exists? column_exists? + create_trigger_to_sync_tables ].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(', ')}" |