database/seeds/common.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
      DB::table('common')->insert([
        'fid'=>Str::random(10),
        'mid'=>Str::random(10),
        'rid'=>Str::random(10),
        'common'=>Str::random(10),
        'point'=>Str::random(10),
]);
    }
public function run ( ) { DB :: table ( 'common' ) -> insert ( [ 'fid' => Str :: random ( 10 ) , 'mid' => Str :: random ( 10 ) , 'rid' => Str :: random ( 10 ) , 'common' => Str :: random ( 10 ) , 'point' => Str :: random ( 10 ) , ] ) ; }
Run the database seeds.
Run the database seeds .
//