From 4b9055ca70a4541e6d72559b3c1a6c97ae87172d Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 8 May 2015 15:13:31 +0200 Subject: [PATCH] Seed command: Only run seeders that have not been run as part of flarum:install command. --- framework/core/src/Console/SeedCommand.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/framework/core/src/Console/SeedCommand.php b/framework/core/src/Console/SeedCommand.php index 97e40ec60..cd97ff959 100644 --- a/framework/core/src/Console/SeedCommand.php +++ b/framework/core/src/Console/SeedCommand.php @@ -40,11 +40,8 @@ class SeedCommand extends Command { */ public function fire() { - $this->call('db:seed', ['--class' => 'Flarum\Core\Seeders\GroupsTableSeeder']); - $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\DiscussionsTableSeeder']); - $this->call('db:seed', ['--class' => 'Flarum\Core\Seeders\ConfigTableSeeder']); + $this->call('db:seed', ['--class' => 'Flarum\Core\Seeders\DiscussionsTableSeeder']); + $this->call('db:seed', ['--class' => 'Flarum\Core\Seeders\UsersTableSeeder']); } /**