Skip to content

Commit

Permalink
db: Add dependency relation to Timeperiod model
Browse files Browse the repository at this point in the history
  • Loading branch information
nilmerg committed Sep 2, 2024
1 parent ce267f7 commit fe6d909
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/Icingadb/Model/Timeperiod.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,6 @@ public function createRelations(Relations $relations)
$relations->hasMany('service', Service::class)
->setForeignKey('check_timeperiod_id');
$relations->hasMany('user', User::class);
$relations->hasMany('dependency', Dependency::class);
}
}

0 comments on commit fe6d909

Please sign in to comment.