lots of updates + refactoring

This commit is contained in:
Andras Bacsai
2023-08-07 22:14:21 +02:00
parent bfc20ef219
commit 971d7f703d
51 changed files with 532 additions and 324 deletions

View File

@@ -15,7 +15,7 @@ class StandaloneDocker extends BaseModel
}
public function postgresqls()
{
return $this->morphMany(StandalonePostgres::class, 'destination');
return $this->morphMany(StandalonePostgresql::class, 'destination');
}
public function server()
{
@@ -25,4 +25,4 @@ class StandaloneDocker extends BaseModel
{
return $this->applications->count() > 0 || $this->databases->count() > 0;
}
}
}