Welcome to mirror list, hosted at ThFree Co, Russian Federation.

email.rb « issue « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 730fda5cdb4c12fc69166abedbfb56deadcf992e (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

class Issue::Email < ApplicationRecord
  self.table_name = 'issue_emails'

  belongs_to :issue

  validates :email_message_id, uniqueness: true, presence: true, length: { maximum: 1000 }
  validates :issue, presence: true, uniqueness: true
end