mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-03 06:18:59 +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