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()
    {
        $this->call([
            UserSeeder::class,
            SubjectSeeder::class,
            ClassesSeeder::class,
        ]);
        \App\Models\User::factory(55)->create();
        $this->call([
            CourseRequestsSeeder::class
        ]);
    }
public function run ( ) { $ this -> call ( [ UserSeeder :: class , SubjectSeeder :: class , ClassesSeeder :: class , ] ) ; \ App \ Models \ User :: factory ( 55 ) -> create ( ) ; $ this -> call ( [ CourseRequestsSeeder :: class ] ) ; }
Seed the application's database.
Seed the application ' s database .