database/seeds/DatabaseSeeder.php
/**
     * Seed the application's database.
     *
     * @return void
     */
Seed the application's database.
@return void
Seed the application ' s database . @return void
public function run()
    {
        $this->truncateTables([
            'rols',
            'users',
            'user_details' 
        ]);
        $this->call(RolSeeder::class);
        $this->call(UserSeeder::class);
        $this->call(UserDetailSeeder::class);
    }
public function run ( ) { $ this -> truncateTables ( [ 'rols' , 'users' , 'user_details' ] ) ; $ this -> call ( RolSeeder :: class ) ; $ this -> call ( UserSeeder :: class ) ; $ this -> call ( UserDetailSeeder :: class ) ; }
Seed the application's database.
Seed the application ' s database .
//$this->call([PromotionSeeder::class, CategorySeeder::class,ProductSeeder::class]); // ProductSeeder::class  SubcategorySeeder::class //$this->call(CompraSeeder::class); // Nhillus: Comente la de arriba porque taradaba mucho en seedear hay que modificarla para que sean menos semillas y que sean medianamente reales