diff --git a/packages/core/database/src/database.ts b/packages/core/database/src/database.ts index 45ee08365..0a5108183 100644 --- a/packages/core/database/src/database.ts +++ b/packages/core/database/src/database.ts @@ -86,7 +86,7 @@ class DatabaseVersion { postgres: { sql: 'select version() as version', get: (v) => { - const keys = v.split(' '); + const keys = v.split(/\s|,/); keys.shift(); return semver.minVersion(keys.shift()).version; },