debian-mirror-gitlab/app/models/incident_management/issuable_escalation_status.rb

16 lines
430 B
Ruby
Raw Normal View History

2021-10-27 15:23:28 +05:30
# frozen_string_literal: true
module IncidentManagement
class IssuableEscalationStatus < ApplicationRecord
include ::IncidentManagement::Escalatable
self.table_name = 'incident_management_issuable_escalation_statuses'
belongs_to :issue
validates :issue, presence: true, uniqueness: true
end
end
IncidentManagement::IssuableEscalationStatus.prepend_mod_with('IncidentManagement::IssuableEscalationStatus')