Skip to content

Commit

Permalink
fix(MigrateDumpCommand): Also exclude routines from dumping data to f…
Browse files Browse the repository at this point in the history
…ile. (#16)
  • Loading branch information
paulrrogers authored Jan 31, 2020
1 parent dbbd3f5 commit 6d346e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/MigrateDumpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private static function mysqlDataDump(array $db_config, string $data_sql_path) :
passthru(
static::mysqlCommandPrefix($db_config)
. ' --result-file=' . escapeshellarg($data_sql_path)
. ' --no-create-info --skip-triggers'
. ' --no-create-info --skip-routines --skip-triggers'
. ' --ignore-table=' . escapeshellarg($db_config['database'] . '.migrations'),
$exit_code
);
Expand Down

0 comments on commit 6d346e5

Please sign in to comment.