fix(database): detect more postgres database image types

This commit is contained in:
Andras Bacsai 2025-01-28 11:05:50 +01:00
parent 8f1bde2534
commit e049559e53

View file

@ -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';
}