chore: lower unnecessary high req

This commit is contained in:
Sami Mazouz 2024-11-04 19:42:29 +01:00
parent d7a54037c2
commit 44f0773344
No known key found for this signature in database

View File

@ -55,7 +55,7 @@ class ConnectToDatabase implements Step
$version = $pdo->query('SELECT VERSION()')->fetchColumn(); $version = $pdo->query('SELECT VERSION()')->fetchColumn();
if (Str::contains($version, 'MariaDB')) { if (Str::contains($version, 'MariaDB')) {
if (version_compare($version, '10.10.0', '<')) { if (version_compare($version, '10.3.0', '<')) {
throw new RangeException("MariaDB version ($version) too low. You need at least MariaDB 10.10"); throw new RangeException("MariaDB version ($version) too low. You need at least MariaDB 10.10");
} }
} else { } else {