diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-28 03:10:50 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-28 03:10:50 +0000 |
commit | 6e2c5f5017e82e6f86488e89c2b709789c55bf90 (patch) | |
tree | 825bc4ba138834d53c977a8a18d7b43ac99f27ec /app/models/issue.rb | |
parent | e39b6277eb4f4560af5c541a79d890e8186f130e (diff) | |
download | gitlab-ce-6e2c5f5017e82e6f86488e89c2b709789c55bf90.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r-- | app/models/issue.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index ea7acf9a5d1..61fc0264360 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -90,6 +90,7 @@ class Issue < ApplicationRecord has_one :incident_management_issuable_escalation_status, class_name: 'IncidentManagement::IssuableEscalationStatus' has_and_belongs_to_many :self_managed_prometheus_alert_events, join_table: :issues_self_managed_prometheus_alert_events # rubocop: disable Rails/HasAndBelongsToMany has_and_belongs_to_many :prometheus_alert_events, join_table: :issues_prometheus_alert_events # rubocop: disable Rails/HasAndBelongsToMany + has_many :alert_management_alerts, class_name: 'AlertManagement::Alert', inverse_of: :issue has_many :prometheus_alerts, through: :prometheus_alert_events has_many :issue_customer_relations_contacts, class_name: 'CustomerRelations::IssueContact', inverse_of: :issue has_many :customer_relations_contacts, through: :issue_customer_relations_contacts, source: :contact, class_name: 'CustomerRelations::Contact', inverse_of: :issues |