mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
chore: lower unnecessary high req
This commit is contained in:
parent
d7a54037c2
commit
44f0773344
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user