database/seeds/ReasonsTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        DB::table('reasons')->insert(
            array(
                array('name' => 'Buying equipment'),
                array('name' => 'Hiring employees'),
                array('name' => 'Marketing'),
                array('name' => 'Remodeling or expansion'),
                array('name' => 'Working capital'),
                array('name' => 'Refinancing best'),
                array('name' => 'Purchasing inventory'),
                array('name' => 'Other')
            )
        );
    }
public function run ( ) { DB :: table ( 'reasons' ) -> insert ( array ( array ( 'name' => 'Buying equipment' ) , array ( 'name' => 'Hiring employees' ) , array ( 'name' => 'Marketing' ) , array ( 'name' => 'Remodeling or expansion' ) , array ( 'name' => 'Working capital' ) , array ( 'name' => 'Refinancing best' ) , array ( 'name' => 'Purchasing inventory' ) , array ( 'name' => 'Other' ) ) ) ; }
Run the database seeds.
Run the database seeds .