1
0
mirror of https://github.com/flarum/core.git synced 2025-08-13 03:44:32 +02:00

Compare commits

...

1 Commits

Author SHA1 Message Date
Sami Mazouz
44f0773344 chore: lower unnecessary high req 2024-11-04 19:42:29 +01:00

View File

@@ -55,7 +55,7 @@ class ConnectToDatabase implements Step
$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 {