database/seeds/IntakeTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
      foreach (range(1,20) as $index) {
          DB::table('intake')->insert([
            'available'   =>  1,
            'form_link'   =>  'http://docs.astrosubs.com/#/',
            'created_at'  =>  now(),
            'updated_at'  =>  now()
          ]);
        }
    }
public function run ( ) { foreach ( range ( 1 , 20 ) as $ index ) { DB :: table ( 'intake' ) -> insert ( [ 'available' => 1 , 'form_link' => 'http://docs.astrosubs.com/#/' , 'created_at' => now ( ) , 'updated_at' => now ( ) ] ) ; } }
Run the database seeds.
Run the database seeds .