mirror of
https://github.com/flarum/framework.git
synced 2025-02-28 20:44:09 +08:00
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
This commit is contained in:
parent
93531c6636
commit
126551366b
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user