add destinations

This commit is contained in:
Andras Bacsai committed 2023-05-02 12:47:52 +02:00
1 parent 77c86400c0
commit 1a9f360132
16 files changed
+144 -11

No files matched your search

+4
View File
@@ -8,4 +8,8 @@ class SwarmDocker extends BaseModel
{
return $this->morphMany(Application::class, 'destination');
}
public function server()
{
return $this->belongsTo(Server::class);
}
}