summaryrefslogtreecommitdiff
path: root/rubocop/rubocop.rb
diff options
context:
space:
mode:
authorAndreas Brandl <abrandl@gitlab.com>2018-08-01 17:52:54 +0200
committerAndreas Brandl <abrandl@gitlab.com>2018-08-08 23:30:48 +0200
commite3ff3909862d81036a64f3eab02d5e3e4802f5e6 (patch)
tree7a27eb67467652ebb2adf77fb2ef6cf57a8612ba /rubocop/rubocop.rb
parent3d2a3e5782aaff37c4b27dc9d3858031ab0c9059 (diff)
downloadgitlab-ce-e3ff3909862d81036a64f3eab02d5e3e4802f5e6.tar.gz
Add rubocop check for add_reference to require index.
Diffstat (limited to 'rubocop/rubocop.rb')
-rw-r--r--rubocop/rubocop.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/rubocop/rubocop.rb b/rubocop/rubocop.rb
index aa7ae601f75..a427208cdab 100644
--- a/rubocop/rubocop.rb
+++ b/rubocop/rubocop.rb
@@ -11,6 +11,7 @@ require_relative 'cop/migration/add_column'
require_relative 'cop/migration/add_concurrent_foreign_key'
require_relative 'cop/migration/add_concurrent_index'
require_relative 'cop/migration/add_index'
+require_relative 'cop/migration/add_reference'
require_relative 'cop/migration/add_timestamps'
require_relative 'cop/migration/datetime'
require_relative 'cop/migration/hash_index'