27 lines
561 B
PHP
27 lines
561 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
Eloquent::unguard();
|
|
|
|
$this->call('ConstantsSeeder');
|
|
$this->command->info('Seeded the constants!');
|
|
|
|
// $this->call('UserTableSeeder');
|
|
$this->call('CountriesSeeder');
|
|
$this->command->info('Seeded the countries!');
|
|
|
|
$this->call('QuestionTypesSeeder');
|
|
$this->command->info('Seeded the question types!');
|
|
}
|
|
}
|