Skip to content
This repository has been archived by the owner on Feb 8, 2025. It is now read-only.

Commit

Permalink
Fix mysqldump
Browse files Browse the repository at this point in the history
  • Loading branch information
ytorbyk committed Nov 1, 2018
1 parent 8f6cd1a commit 43a5653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Commands/Database/ExportCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function handle(): void
$dumpPath = $this->getDumpPath($this->updateDumpExtension($file));
$packCommand = $this->getPackCommand($dumpPath);

Cli::passthru("mysqldump {$dbName} "
Cli::passthru("mysqldump {$dbName} --routines=true"
. " | pv -b -t -w 80 -N Export "
. " | sed -e 's/DEFINER[ ]*=[ ]*[^*]*\*/\*/' | sed -e 's/ROW_FORMAT=FIXED//g' "
. " {$packCommand} > {$dumpPath}");
Expand Down

0 comments on commit 43a5653

Please sign in to comment.