database/seeds/DatabaseSeeder.php
/**
     * Seed the application's database.
     */
Seed the application's database.
Seed the application ' s database .
public function run()
    {
        Model::unguard();
        $this->truncateMultiple([
            'cache',
            'failed_jobs',
            'ledgers',
            'jobs',
            'sessions',
        ]);
        $this->call([
            AuthTableSeeder::class,
            SettingsTableSeeder::class,
            PaisesTableSeeder::class,
            ProvinciasTableSeeder::class,
            MunicipiosTableSeeder::class,
        ]);
        Model::reguard();
    }
public function run ( ) { Model :: unguard ( ) ; $ this -> truncateMultiple ( [ 'cache' , 'failed_jobs' , 'ledgers' , 'jobs' , 'sessions' , ] ) ; $ this -> call ( [ AuthTableSeeder :: class , SettingsTableSeeder :: class , PaisesTableSeeder :: class , ProvinciasTableSeeder :: class , MunicipiosTableSeeder :: class , ] ) ; Model :: reguard ( ) ; }
Seed the application's database.
Seed the application ' s database .