database/seeders/ScheduleSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        Schedule::create(['id_mentor' => 2, 'id_mentee' => 3]);
        Schedule::create(['id_mentor' => 2, 'id_mentee' => 4]);
    }
public function run ( ) { Schedule :: create ( [ 'id_mentor' => 2 , 'id_mentee' => 3 ] ) ; Schedule :: create ( [ 'id_mentor' => 2 , 'id_mentee' => 4 ] ) ; }
Run the database seeds.
Run the database seeds .