summaryrefslogtreecommitdiff
path: root/app/models/label_link.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-12 21:08:48 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-12 21:08:48 +0000
commit006e89697dd5165f355afc20fc6bb0cdfa7b381a (patch)
tree9095aeb37b2c80f3b0cc5a8dfd27baf93f05b61b /app/models/label_link.rb
parent43e3dc2f95a25c600e08f65d4f1c406a1a63ed3d (diff)
downloadgitlab-ce-006e89697dd5165f355afc20fc6bb0cdfa7b381a.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/label_link.rb')
-rw-r--r--app/models/label_link.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/label_link.rb b/app/models/label_link.rb
index ffc0afd8e85..5ae1e88e14e 100644
--- a/app/models/label_link.rb
+++ b/app/models/label_link.rb
@@ -1,6 +1,7 @@
# frozen_string_literal: true
class LabelLink < ApplicationRecord
+ include BulkInsertSafe
include Importable
belongs_to :target, polymorphic: true, inverse_of: :label_links # rubocop:disable Cop/PolymorphicAssociations