debian-mirror-gitlab/app/models/sentry_issue.rb

11 lines
226 B
Ruby
Raw Normal View History

2020-01-01 13:55:28 +05:30
# frozen_string_literal: true
class SentryIssue < ApplicationRecord
belongs_to :issue
validates :issue, uniqueness: true, presence: true
validates :sentry_issue_identifier,
uniqueness: true,
presence: true
end