We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
php artisan schema:dump
1 parent 9ac0515 commit 33ef96eCopy full SHA for 33ef96e
src/Illuminate/Database/Schema/MySqlSchemaState.php
@@ -85,10 +85,10 @@ public function load($path)
85
*/
86
protected function baseDumpCommand()
87
{
88
- $command = 'mysqldump '.$this->connectionString().' --no-tablespaces --skip-add-locks --skip-comments --skip-set-charset --tz-utc';
+ $command = 'mysqldump '.$this->connectionString().' --no-tablespaces --skip-add-locks --skip-comments --skip-set-charset --tz-utc --column-statistics=0';
89
90
if (! $this->connection->isMaria()) {
91
- $command .= ' --column-statistics=0 --set-gtid-purged=OFF';
+ $command .= ' --set-gtid-purged=OFF';
92
}
93
94
return $command.' "${:LARAVEL_LOAD_DATABASE}"';
0 commit comments