mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 20:49:32 +00:00
fix: show real storage name on services
This commit is contained in:
@@ -12,16 +12,19 @@ class LocalPersistentVolume extends Model
|
||||
|
||||
public function application()
|
||||
{
|
||||
return $this->morphTo();
|
||||
return $this->morphTo('resource');
|
||||
}
|
||||
public function service()
|
||||
{
|
||||
return $this->morphTo();
|
||||
return $this->morphTo('resource');
|
||||
}
|
||||
public function database()
|
||||
{
|
||||
return $this->morphTo('resource');
|
||||
}
|
||||
|
||||
public function standalone_postgresql()
|
||||
{
|
||||
return $this->morphTo();
|
||||
return $this->morphTo('resource');
|
||||
}
|
||||
|
||||
protected function name(): Attribute
|
||||
|
||||
Reference in New Issue
Block a user