From 126551366b4dfb390ac5ebbc1eb1f370dd2d5785 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Tue, 4 Dec 2018 09:12:19 +1030 Subject: [PATCH] Set the default engine in the installer The installer doesn't use DatabaseServiceProvider, so we need to set the default engine in the config here too. Fixes #1675 --- framework/core/src/Install/Console/InstallCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/core/src/Install/Console/InstallCommand.php b/framework/core/src/Install/Console/InstallCommand.php index cbe22854e..37cd34655 100644 --- a/framework/core/src/Install/Console/InstallCommand.php +++ b/framework/core/src/Install/Console/InstallCommand.php @@ -239,6 +239,8 @@ class InstallCommand extends AbstractCommand $factory = new ConnectionFactory($this->application); + $laravelDbConfig['engine'] = 'InnoDB'; + $this->db = $factory->make($laravelDbConfig); $version = $this->db->getPdo()->getAttribute(PDO::ATTR_SERVER_VERSION);