debian-mirror-gitlab/app/models/alert_management/alert_user_mention.rb
2023-05-27 22:25:52 +05:30

11 lines
268 B
Ruby

# frozen_string_literal: true
module AlertManagement
class AlertUserMention < UserMention
belongs_to :alert, class_name: '::AlertManagement::Alert',
foreign_key: :alert_management_alert_id,
inverse_of: :user_mentions
belongs_to :note
end
end