From d05edd4ade858876ab00a8a3b9421fd0178f3965 Mon Sep 17 00:00:00 2001 From: Kevin DeCapite Date: Wed, 4 Oct 2023 07:39:02 -0700 Subject: [PATCH] Reword exception message when running multiple migrations on same connection. --- src/TestSuite/Migrator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TestSuite/Migrator.php b/src/TestSuite/Migrator.php index b7fc7dae..e98984a3 100644 --- a/src/TestSuite/Migrator.php +++ b/src/TestSuite/Migrator.php @@ -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 );