Skip to content

Commit

Permalink
Seed command will output the seeded classes.
Browse files Browse the repository at this point in the history
Signed-off-by: Isern Palaus <[email protected]>
  • Loading branch information
Isern Palaus committed Nov 4, 2013
1 parent e7f69d9 commit 1f3e54d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Console/SeedCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ public function fire()
$this->resolver->setDefaultConnection($this->getDatabase());

$this->getSeeder()->run();

$this->info('Database seeded!');
}

/**
Expand Down
2 changes: 2 additions & 0 deletions Seeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ public function run() {}
public function call($class)
{
$this->resolve($class)->run();

$this->command->getOutput()->writeln("<info>Seeded:</info> $class");
}

/**
Expand Down

0 comments on commit 1f3e54d

Please sign in to comment.