Skip to content

Commit

Permalink
fix: prevent db/backup from exporting triggeres twice
Browse files Browse the repository at this point in the history
  • Loading branch information
gopeter authored and brandonkelly committed Oct 8, 2024
1 parent 423cafe commit 23c30cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/db/mysql/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ public function getDefaultBackupCommand(?array $ignoreTables = null): string

$schemaDump = (clone $baseCommand)
->addArg('--no-data')
->addArg('--skip-triggers')
->addArg('--result-file=', '{file}')
->addArg('{database}');

Expand Down

0 comments on commit 23c30cf

Please sign in to comment.