This commit is contained in:
Andras Bacsai
2023-03-27 14:31:42 +02:00
parent 1c87146a50
commit 653efb6983
21 changed files with 180 additions and 29 deletions

View File

@@ -8,4 +8,8 @@ class Application extends BaseModel
{
return $this->morphToMany(Environment::class, 'environmentable');
}
public function destination()
{
return $this->morphTo();
}
}