Skip to content

Commit

Permalink
chore: lower unnecessary high req
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Nov 4, 2024
1 parent d7a5403 commit 44f0773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/core/src/Install/Steps/ConnectToDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private function mysql(array $config): void
$version = $pdo->query('SELECT VERSION()')->fetchColumn();

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");
}
} else {
Expand Down

0 comments on commit 44f0773

Please sign in to comment.