Exemplo n.º 1
0
 /**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     DB::statement('SET FOREIGN_KEY_CHECKS = 0');
     Cliente::truncate();
     Reserva::truncate();
     factory(Cliente::class, 50)->create();
     factory(Reserva::class, 200)->create();
     // $this->call(UserTableSeeder::class);
 }