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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-01 09:07:10 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-01 09:07:10 +0300
commite0ae0d63cd9361c82adab74a7b6fcbac956ecfaf (patch)
treea9183a0899fe40f519ecc63777b54a99a325028d /app/models/issue_email_participant.rb
parent7503415f61a1405c4e83cc39e7fca8eaba621f23 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/issue_email_participant.rb')
-rw-r--r--app/models/issue_email_participant.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/issue_email_participant.rb b/app/models/issue_email_participant.rb
index 76a96151350..dd963bc9e7e 100644
--- a/app/models/issue_email_participant.rb
+++ b/app/models/issue_email_participant.rb
@@ -1,6 +1,8 @@
# frozen_string_literal: true
class IssueEmailParticipant < ApplicationRecord
+ include BulkInsertSafe
+
belongs_to :issue
validates :email, uniqueness: { scope: [:issue_id], case_sensitive: false }