@@ -47,15 +47,19 @@ public function exec(): int {
4747 // Discover migrations
4848 $ migrationsPath = APP_PATH .'Database ' .DS .'Migrations ' ;
4949 $ namespace = APP_DIR .'\\Database \\Migrations ' ;
50- $ count = $ this ->runner ->discoverFromPath ($ migrationsPath , $ namespace );
50+ $ migrationsCount = $ this ->runner ->discoverFromPath ($ migrationsPath , $ namespace );
5151
5252 $ seedersPath = APP_PATH .'Database ' .DS .'Seeders ' ;
5353 $ seedersNamespace = APP_DIR .'\\Database \\Seeders ' ;
54- $ count + = $ this ->runner ->discoverFromPath ($ seedersPath , $ seedersNamespace );
54+ $ seedersCount = $ this ->runner ->discoverFromPath ($ seedersPath , $ seedersNamespace );
5555
56+ $ count = $ migrationsCount + $ seedersCount ;
57+
5658 if ($ count === 0 ) {
5759 $ this ->info ('No migrations found. ' );
5860 return 0 ;
61+ } else {
62+ $ this ->info ('Discovered ' .$ migrationsCount .' migration(s) and ' .$ seedersCount .' seeder(s). ' );
5963 }
6064
6165 // Rollback all
@@ -69,7 +73,7 @@ public function exec(): int {
6973 }
7074 $ this ->info ('Total rolled back: ' . count ($ rolled ));
7175 } else {
72- $ this ->info ('No migrations to rollback . ' );
76+ $ this ->info ('No migrations were rolled back . ' );
7377 }
7478
7579 $ this ->println ('' );
@@ -108,7 +112,7 @@ private function getConnection(): ?ConnectionInfo {
108112 }
109113
110114 private function runMigrations (): int {
111- $ this ->println ('Running migrations ... ' );
115+ $ this ->println ('Running database changes ... ' );
112116
113117 $ result = $ this ->runner ->apply ();
114118
0 commit comments