Skip to content

Commit

Permalink
Merge pull request #784 from kevindecapite/kevindecapite-issue-603
Browse files Browse the repository at this point in the history
Reword exception message for multiple migrations on same connection.
  • Loading branch information
markstory authored Dec 2, 2024
2 parents 4f7e770 + d05edd4 commit f209d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TestSuite/Migrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function runMany(
"Migrations failed to apply with message:\n\n" .
$e->getMessage() . "\n\n" .
'If you are using the `skip` option and running multiple sets of migrations ' .
'on the same connection try calling `truncate()` before `runMany()` to avoid this.',
'on the same connection, you can\'t skip tables managed by CakePHP in the connection.',
0,
$e
);
Expand Down

0 comments on commit f209d07

Please sign in to comment.