diff --git a/.env.example b/.env.example index 24b627feb..883de3d8e 100644 --- a/.env.example +++ b/.env.example @@ -48,5 +48,4 @@ MAIL_ENCRYPTION=null # MAIL_PASSWORD=null # MAIL_ENCRYPTION=null - -MYSQL_DUMP_PATH=/Applications/MAMP/Library/bin/ +MYSQL_DUMP_PATH=/opt/homebrew/bin/ diff --git a/config/database.php b/config/database.php index aa1cba180..db4c1b9de 100644 --- a/config/database.php +++ b/config/database.php @@ -64,9 +64,13 @@ 'prefix' => '', 'strict' => false, 'engine' => null, - 'dump_command_path' => env('MYSQL_DUMP_PATH', '/Applications/MAMP/Library/bin/'), // only the path, so without 'mysqldump' or 'pg_dump' - 'dump_command_timeout' => 60 * 5, // 5 minute timeout - 'dump_using_single_transaction' => true, + 'dump' => [ + 'dump_binary_path' => env('MYSQL_DUMP_PATH', '/opt/homebrew/bin/'), + 'use_single_transaction', + 'timeout' => 60 * 5, // 5 minute timeout + // 'exclude_tables' => ['table1', 'table2'], + // 'add_extra_option' => '--optionname=optionvalue', + ], ], 'pgsql' => [