Skip to content

Commit 6d346e5

Browse files
authored
fix(MigrateDumpCommand): Also exclude routines from dumping data to file. (#16)
1 parent dbbd3f5 commit 6d346e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/MigrateDumpCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ private static function mysqlDataDump(array $db_config, string $data_sql_path) :
200200
passthru(
201201
static::mysqlCommandPrefix($db_config)
202202
. ' --result-file=' . escapeshellarg($data_sql_path)
203-
. ' --no-create-info --skip-triggers'
203+
. ' --no-create-info --skip-routines --skip-triggers'
204204
. ' --ignore-table=' . escapeshellarg($db_config['database'] . '.migrations'),
205205
$exit_code
206206
);

0 commit comments

Comments
 (0)