fix(database): detect more postgres database image types
This commit is contained in:
@@ -78,7 +78,7 @@ class ServiceDatabase extends BaseModel
|
||||
public function databaseType()
|
||||
{
|
||||
$image = str($this->image)->before(':');
|
||||
if ($image->value() === 'postgres') {
|
||||
if ($image->contains('postgres') || $image->contains('postgis')) {
|
||||
$image = 'postgresql';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user