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
path: root/db
diff options
context:
space:
mode:
authorAndreas Brandl <abrandl@gitlab.com>2018-08-01 18:52:54 +0300
committerAndreas Brandl <abrandl@gitlab.com>2018-08-09 00:30:48 +0300
commite3ff3909862d81036a64f3eab02d5e3e4802f5e6 (patch)
tree7a27eb67467652ebb2adf77fb2ef6cf57a8612ba /db
parent3d2a3e5782aaff37c4b27dc9d3858031ab0c9059 (diff)
Add rubocop check for add_reference to require index.
Diffstat (limited to 'db')
-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