debian-mirror-gitlab/app/models/sentry_issue.rb
2020-01-01 13:55:28 +05:30

10 lines
226 B
Ruby

# 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