Skip to content

Commit

Permalink
Set the default engine in the installer
Browse files Browse the repository at this point in the history
The installer doesn't use DatabaseServiceProvider, so we need to set
the default engine in the config here too.

Fixes #1675
  • Loading branch information
tobyzerner committed Dec 3, 2018
1 parent d9d7027 commit 6370f7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Install/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ protected function storeConfiguration(bool $debugMode)

$factory = new ConnectionFactory($this->application);

$laravelDbConfig['engine'] = 'InnoDB';

$this->db = $factory->make($laravelDbConfig);
$version = $this->db->getPdo()->getAttribute(PDO::ATTR_SERVER_VERSION);

Expand Down

0 comments on commit 6370f7e

Please sign in to comment.