database/seeders/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()
    {
        Roles::factory(1)->create();
        User::factory(1)->create();
    }
public function run ( ) { Roles :: factory ( 1 ) -> create ( ) ; User :: factory ( 1 ) -> create ( ) ; }
Seed the application's database.
Seed the application ' s database .
// Teachers::factory(5)->create(); // Students::factory(5)->create();