database/seeds/RecordTypes.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
      DB::table('record_types')->insert([
          'type' => 'Post',
          'slug' => 'post'
      ]);
      DB::table('record_types')->insert([
          'type' => 'Page',
          'slug' => 'page'
      ]);
    }
public function run ( ) { DB :: table ( 'record_types' ) -> insert ( [ 'type' => 'Post' , 'slug' => 'post' ] ) ; DB :: table ( 'record_types' ) -> insert ( [ 'type' => 'Page' , 'slug' => 'page' ] ) ; }
Run the database seeds.
Run the database seeds .