database/seeds/FieldRecordTypes.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
      DB::table('field_record_type')->insert([
          'field_id' => 9,
          'record_type_id' => 1
      ]);
      DB::table('field_record_type')->insert([
          'field_id' => 10,
          'record_type_id' => 1
      ]);
    }
public function run ( ) { DB :: table ( 'field_record_type' ) -> insert ( [ 'field_id' => 9 , 'record_type_id' => 1 ] ) ; DB :: table ( 'field_record_type' ) -> insert ( [ 'field_id' => 10 , 'record_type_id' => 1 ] ) ; }
Run the database seeds.
Run the database seeds .