Skip to content

Commit

Permalink
fix(MigrateDumpCommand): Exclude routines from migration row dump to …
Browse files Browse the repository at this point in the history
…avoid parsing problem. (#15)
  • Loading branch information
paulrrogers authored Jan 31, 2020
1 parent e61cd5b commit dbbd3f5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Commands/MigrateDumpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,12 @@ private static function mysqlSchemaDump(array $db_config, string $schema_sql_pat

// Include migration rows to avoid unnecessary reruns conflicting.
exec(
static::mysqlCommandPrefix($db_config) . ' migrations --no-create-info --skip-extended-insert --compact',
static::mysqlCommandPrefix($db_config)
. ' migrations'
. ' --no-create-info'
. ' --skip-extended-insert'
. ' --skip-routines'
. ' --compact',
$output,
$exit_code
);
Expand Down

0 comments on commit dbbd3f5

Please sign in to comment.