mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
DependencyEdgeState: Add relation edge
This commit is contained in:
parent
8d67f55c30
commit
0f81a7c3fb
1 changed files with 6 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ use ipl\Orm\Behavior\Binary;
|
|||
use ipl\Orm\Behavior\BoolCast;
|
||||
use ipl\Orm\Behaviors;
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
||||
/**
|
||||
* Dependency edge state model.
|
||||
|
|
@ -51,4 +52,9 @@ class DependencyEdgeState extends Model
|
|||
'failed'
|
||||
]));
|
||||
}
|
||||
|
||||
public function createRelations(Relations $relations)
|
||||
{
|
||||
$relations->hasMany('edge', DependencyEdge::class);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue