fix(database): detect more postgres database image types
This commit is contained in:
parent
8f1bde2534
commit
e049559e53
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ public function serviceType()
|
|||
public function databaseType()
|
||||
{
|
||||
$image = str($this->image)->before(':');
|
||||
if ($image->value() === 'postgres') {
|
||||
if ($image->contains('postgres') || $image->contains('postgis')) {
|
||||
$image = 'postgresql';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue