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:
Diffstat (limited to 'rubocop/cop/database/disable_referential_integrity.rb')
-rw-r--r--rubocop/cop/database/disable_referential_integrity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/database/disable_referential_integrity.rb b/rubocop/cop/database/disable_referential_integrity.rb
index 80d52678011..9e201e2d143 100644
--- a/rubocop/cop/database/disable_referential_integrity.rb
+++ b/rubocop/cop/database/disable_referential_integrity.rb
@@ -4,7 +4,7 @@ module RuboCop
module Cop
module Database
# Cop that checks if 'disable_referential_integrity' method is called.
- class DisableReferentialIntegrity < RuboCop::Cop::Cop
+ class DisableReferentialIntegrity < RuboCop::Cop::Base
MSG = <<~TEXT
Do not use `disable_referential_integrity`, disable triggers in a safe
transaction instead. Follow the format: