Revert "Enhance further install without dummy data"

This reverts commit 7d7059504e.
This commit is contained in:
Tamás Roncsák
2015-02-23 11:50:49 +01:00
parent 7d7059504e
commit b28bcce5f1
2 changed files with 58 additions and 62 deletions
+2 -6
View File
@@ -100,16 +100,12 @@ class AppCommand extends Command
// Seed the tables with dummy data
if( $this->dummyData === true )
{
$this->call('db:seed', array('--force'=>true));
$this->call('db:seed');
}
else
{
// Seeding Settings table is mandatory
$this->call('db:seed', array('--class' => 'SettingsSeeder', '--force'=>true));
// Seeding Statuslabels is strongly recommended
$this->call('db:seed', array('--class' => 'StatuslabelsSeeder', '--force'=>true));
// Seeding Categories is good to have
$this->call('db:seed', array('--class' => 'CategoriesSeeder', '--force'=>true));
$this->call('db:seed', array('--class' => 'SettingsSeeder'));
}
}