示例#1
0
 /**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     Laracasts\TestDummy\Factory::times(50)->create('App\\Models\\Post');
 }
示例#2
0
 /**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     Laracasts\TestDummy\Factory::times(50)->create(\App\Models\Comment::class);
 }