From 5d10fdc66ae507d256dda2d51af59e1dcc024646 Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Mon, 4 Nov 2024 20:22:44 +0100 Subject: [PATCH] chore: laravel MariaDB min is 10.3 --- framework/core/src/Install/Steps/ConnectToDatabase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/src/Install/Steps/ConnectToDatabase.php b/framework/core/src/Install/Steps/ConnectToDatabase.php index 4b21848f6..2fa1290a1 100644 --- a/framework/core/src/Install/Steps/ConnectToDatabase.php +++ b/framework/core/src/Install/Steps/ConnectToDatabase.php @@ -55,8 +55,8 @@ class ConnectToDatabase implements Step $version = $pdo->query('SELECT VERSION()')->fetchColumn(); if (Str::contains($version, 'MariaDB')) { - if (version_compare($version, '10.10.0', '<')) { - throw new RangeException("MariaDB version ($version) too low. You need at least MariaDB 10.10"); + if (version_compare($version, '10.3.0', '<')) { + throw new RangeException("MariaDB version ($version) too low. You need at least MariaDB 10.3"); } } else { if (version_compare($version, '5.7.0', '<')) {