This commit is contained in:
Andras Bacsai
2023-03-28 15:47:37 +02:00
parent 0b248e9be4
commit 4df66ebf00
24 changed files with 408 additions and 25 deletions

View File

@@ -12,4 +12,8 @@ class Database extends BaseModel
{
return $this->morphTo();
}
public function deployments()
{
return $this->morphMany(Deployment::class, 'type');
}
}