mirror of
https://github.com/flarum/core.git
synced 2025-07-25 02:31:17 +02: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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user