mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-16 20:49:28 +00:00
wip: services
This commit is contained in:
@@ -21,9 +21,9 @@ class StandaloneDocker extends BaseModel
|
||||
return $this->belongsTo(Server::class);
|
||||
}
|
||||
|
||||
public function service()
|
||||
public function services()
|
||||
{
|
||||
return $this->belongsTo(Service::class, 'destination');
|
||||
return $this->morphMany(Service::class, 'destination');
|
||||
}
|
||||
|
||||
public function attachedTo()
|
||||
|
||||
Reference in New Issue
Block a user