mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
parent
d1099bb02e
commit
3a8955a537
1 changed files with 2 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ class History extends Model
|
|||
'downtime_history_id',
|
||||
'flapping_history_id',
|
||||
'notification_history_id',
|
||||
'acknowledgement_history_id',
|
||||
'state_history_id',
|
||||
'event_type',
|
||||
'event_time'
|
||||
|
|
@ -70,6 +71,7 @@ class History extends Model
|
|||
->setForeignKey('downtime_id')
|
||||
->setJoinType('LEFT');
|
||||
$relations->belongsTo('notification', NotificationHistory::class)->setJoinType('LEFT');
|
||||
$relations->belongsTo('acknowledgement', AcknowledgementHistory::class)->setJoinType('LEFT');
|
||||
$relations->belongsTo('state', StateHistory::class)->setJoinType('LEFT');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue