Seed command: Only run seeders that have not been run as part of flarum:install command.

This commit is contained in:
Franz Liedke 2015-05-08 15:13:31 +02:00
parent 62d32bc40c
commit 4b9055ca70

View File

@ -40,11 +40,8 @@ class SeedCommand extends Command {
*/ */
public function fire() public function fire()
{ {
$this->call('db:seed', ['--class' => 'Flarum\Core\Seeders\GroupsTableSeeder']); $this->call('db:seed', ['--class' => 'Flarum\Core\Seeders\DiscussionsTableSeeder']);
$this->call('db:seed', ['--class' => 'Flarum\Core\Seeders\PermissionsTableSeeder']); $this->call('db:seed', ['--class' => 'Flarum\Core\Seeders\UsersTableSeeder']);
$this->call('db:seed', ['--class' => 'Flarum\Core\Seeders\UsersTableSeeder']);
$this->call('db:seed', ['--class' => 'Flarum\Core\Seeders\DiscussionsTableSeeder']);
$this->call('db:seed', ['--class' => 'Flarum\Core\Seeders\ConfigTableSeeder']);
} }
/** /**