diff --git a/config/database.php b/config/database.php index f7791168d..9c7d1feac 100644 --- a/config/database.php +++ b/config/database.php @@ -57,7 +57,7 @@ return [ 'prefix' => '', 'prefix_indexes' => true, 'strict' => false, - 'engine' => null, + 'engine' => env('DB_ENGINE', null), 'options' => extension_loaded('pdo_mysql') ? array_filter([ PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), ]) : [],