Skip to content

Commit dbbd3f5

Browse files
authored
fix(MigrateDumpCommand): Exclude routines from migration row dump to avoid parsing problem. (#15)
1 parent e61cd5b commit dbbd3f5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Commands/MigrateDumpCommand.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,12 @@ private static function mysqlSchemaDump(array $db_config, string $schema_sql_pat
162162

163163
// Include migration rows to avoid unnecessary reruns conflicting.
164164
exec(
165-
static::mysqlCommandPrefix($db_config) . ' migrations --no-create-info --skip-extended-insert --compact',
165+
static::mysqlCommandPrefix($db_config)
166+
. ' migrations'
167+
. ' --no-create-info'
168+
. ' --skip-extended-insert'
169+
. ' --skip-routines'
170+
. ' --compact',
166171
$output,
167172
$exit_code
168173
);

0 commit comments

Comments
 (0)