From 48ec6b316922e67acecb9e5b02424bcede93a518 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Wed, 4 Feb 2026 17:59:49 +0100 Subject: [PATCH] fix(database): pgvector 18 version is not parsed properly --- app/Models/StandalonePostgresql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/StandalonePostgresql.php b/app/Models/StandalonePostgresql.php index ea59ccaa9..5d35f335b 100644 --- a/app/Models/StandalonePostgresql.php +++ b/app/Models/StandalonePostgresql.php @@ -32,7 +32,7 @@ protected static function booted() $image = (string) ($database->getAttributes()['image'] ?? ''); $majorVersion = 0; - if (preg_match('/:(\d+)/', $image, $matches)) { + if (preg_match('/:(?:pg)?(\d+)/i', $image, $matches)) { $majorVersion = (int) $matches[1]; }