Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-04-06 18:09:23 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-04-06 18:09:23 +0300
commit2e1b10493f9ed9685eb892ab747335983e58f154 (patch)
treef5d4cbee99cd3aec51e90e1725d95616d3d07859 /rubocop/cop
parentebed39e3cedad74e1a1ee4e8d33adfb8bbdc7040 (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.rb1
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(', ')}"