diff options
author | Andreas Brandl <abrandl@gitlab.com> | 2018-08-01 17:52:54 +0200 |
---|---|---|
committer | Andreas Brandl <abrandl@gitlab.com> | 2018-08-08 23:30:48 +0200 |
commit | e3ff3909862d81036a64f3eab02d5e3e4802f5e6 (patch) | |
tree | 7a27eb67467652ebb2adf77fb2ef6cf57a8612ba /db/migrate | |
parent | 3d2a3e5782aaff37c4b27dc9d3858031ab0c9059 (diff) | |
download | gitlab-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.rb | 2 |
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 |