From 6370f7ecffa9ea7d5fb64d9551400edbc63318db 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 --- src/Install/Console/InstallCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Install/Console/InstallCommand.php b/src/Install/Console/InstallCommand.php index cbe22854e..37cd34655 100644 --- a/src/Install/Console/InstallCommand.php +++ b/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);