Skip to content

Commit

Permalink
Fixed notification message
Browse files Browse the repository at this point in the history
  • Loading branch information
kitloong committed Sep 29, 2021
1 parent fd8560e commit 9f0f00b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MigrationsGenerator/MigrateGenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 9f0f00b

Please sign in to comment.