mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
Host: Use LEFT JOIN for downtimes
This commit is contained in:
parent
36e3578110
commit
8f5e7aebf4
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ class Host extends Model
|
|||
|
||||
$relations->hasOne('state', HostState::class)->setJoinType('LEFT');
|
||||
$relations->hasMany('comment', Comment::class)->setJoinType('LEFT');
|
||||
$relations->hasMany('downtime', Downtime::class);
|
||||
$relations->hasMany('downtime', Downtime::class)->setJoinType('LEFT');
|
||||
$relations->hasMany('history', History::class);
|
||||
$relations->hasMany('notification', Notification::class);
|
||||
$relations->hasMany('notification_history', NotificationHistory::class);
|
||||
|
|
|
|||
Loading…
Reference in a new issue