diff --git a/src/Command/UpgradeCommand.php b/src/Command/UpgradeCommand.php
index 5897c458..dece3c09 100644
--- a/src/Command/UpgradeCommand.php
+++ b/src/Command/UpgradeCommand.php
@@ -156,10 +156,13 @@ public function execute(Arguments $args, ConsoleIo $io): ?int
$io->success('Upgrade complete!');
$io->out('');
$io->out('Next steps:');
- $io->out(' 1. Set \'Migrations\' => [\'legacyTables\' => false] in your config');
- $io->out(' 2. Test your application');
- if (!$dropTables) {
- $io->out(' 3. Optionally drop the empty phinxlog tables (re-run `bin/cake migrations upgrade --drop-tables`)');
+ if ($dropTables) {
+ $io->out(' 1. Set \'Migrations\' => [\'legacyTables\' => false] in your config');
+ $io->out(' 2. Test your application');
+ } else {
+ $io->out(' 1. Test your application');
+ $io->out(' 2. Drop the phinxlog tables (re-run `bin/cake migrations upgrade --drop-tables`)');
+ $io->out(' 3. Set \'Migrations\' => [\'legacyTables\' => false] in your config');
}
} else {
$io->out('');