2016-02-29 15:59:36 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
|
|
2016-03-05 00:18:10 +00:00
|
|
|
class DatabaseSeeder extends Seeder
|
|
|
|
|
{
|
2016-02-29 15:59:36 +00:00
|
|
|
/**
|
|
|
|
|
* Run the database seeds.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
2016-03-05 00:18:10 +00:00
|
|
|
public function run()
|
|
|
|
|
{
|
2016-02-29 15:59:36 +00:00
|
|
|
Eloquent::unguard();
|
|
|
|
|
|
|
|
|
|
$this->call('ConstantsSeeder');
|
|
|
|
|
$this->command->info('Seeded the constants!');
|
2016-03-05 00:18:10 +00:00
|
|
|
|
2016-02-29 15:59:36 +00:00
|
|
|
// $this->call('UserTableSeeder');
|
|
|
|
|
$this->call('CountriesSeeder');
|
|
|
|
|
$this->command->info('Seeded the countries!');
|
2016-03-27 13:40:34 +00:00
|
|
|
|
|
|
|
|
$this->call('QuestionTypesSeeder');
|
|
|
|
|
$this->command->info('Seeded the question types!');
|
2016-02-29 15:59:36 +00:00
|
|
|
}
|
|
|
|
|
}
|