summaryrefslogtreecommitdiff
path: root/db/migrate
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 /db/migrate
parent3d2a3e5782aaff37c4b27dc9d3858031ab0c9059 (diff)
downloadgitlab-ce-e3ff3909862d81036a64f3eab02d5e3e4802f5e6.tar.gz
Add rubocop check for add_reference to require index.
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20160317092222_add_moved_to_to_issue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160317092222_add_moved_to_to_issue.rb b/db/migrate/20160317092222_add_moved_to_to_issue.rb
index 461e7fb3a9b..2bf549d7ecd 100644
--- a/db/migrate/20160317092222_add_moved_to_to_issue.rb
+++ b/db/migrate/20160317092222_add_moved_to_to_issue.rb
@@ -1,5 +1,5 @@
class AddMovedToToIssue < ActiveRecord::Migration
def change
- add_reference :issues, :moved_to, references: :issues
+ add_reference :issues, :moved_to, references: :issues # rubocop:disable Migration/AddReference
end
end