database/seeds/MajorsTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        Major::insert(array(
            array(
                'id'=>1,
                'name'=>'Test'
            ),
            array(
                'id'=>2,
                'name'=>'Dev'
            ),
            array(
                'id'=>3,
                'name'=>'PM'
            )
        ));
    }
public function run ( ) { Major :: insert ( array ( array ( 'id' => 1 , 'name' => 'Test' ) , array ( 'id' => 2 , 'name' => 'Dev' ) , array ( 'id' => 3 , 'name' => 'PM' ) ) ) ; }
Run the database seeds.
Run the database seeds .
//