From 9f0f00bb37e4965091697a1ace3792efb1b7cb1b Mon Sep 17 00:00:00 2001 From: Kit Loong Date: Wed, 29 Sep 2021 21:33:48 +0800 Subject: [PATCH] Fixed notification message --- src/MigrationsGenerator/MigrateGenerateCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MigrationsGenerator/MigrateGenerateCommand.php b/src/MigrationsGenerator/MigrateGenerateCommand.php index d5017a46..bf98d849 100644 --- a/src/MigrationsGenerator/MigrateGenerateCommand.php +++ b/src/MigrationsGenerator/MigrateGenerateCommand.php @@ -240,7 +240,7 @@ private function generateMigrationFiles(array $tables): void if (app(MigrationsGeneratorSetting::class)->isSquash()) { $migrationFilepath = $this->generator->squashMigrations(); - $this->info('All migrations squashed.'); + $this->info("\nAll migrations squashed."); if ($this->shouldLog) { $this->logMigration($migrationFilepath); @@ -318,7 +318,7 @@ protected function writeMigration(string $table, callable $writeToTemp, callable { if (app(MigrationsGeneratorSetting::class)->isSquash()) { $writeToTemp(); - $this->info("Prepared: $table foreign keys"); + $this->info("Prepared: $table"); } else { $migrationFilePath = $writeToMigrationFile(); $this->info("Created: $migrationFilePath");