11 lines
226 B
Ruby
11 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
|