Error while running php artisan install ... if mysql/mariadb has default-storage-engine=MYISAM instead of InnoDB. This will ensure that you won't get this error in any case.

This commit is contained in:
Alfred 2019-12-21 20:42:18 +05:00
parent f9687d9138
commit cca58d6b1d

View File

@ -57,7 +57,7 @@ return [
'prefix' => env('DB_PREFIX', 'ak_'), 'prefix' => env('DB_PREFIX', 'ak_'),
'prefix_indexes' => true, 'prefix_indexes' => true,
'strict' => true, 'strict' => true,
'engine' => null, 'engine' => 'InnoDB ROW_FORMAT=DYNAMIC',
'modes' => [ 'modes' => [
//'ONLY_FULL_GROUP_BY', // conflicts with eloquence //'ONLY_FULL_GROUP_BY', // conflicts with eloquence
'STRICT_TRANS_TABLES', 'STRICT_TRANS_TABLES',