Beispiel #1
0
 /**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     DB::statement("SET foreign_key_checks = 0");
     Profile::truncate();
     Profile::create(array('user_id' => '1', 'defaultApartment' => '1', 'gender' => 'Male', 'mobile_no' => '8600012345', 'verified' => '1'));
     Profile::create(array('user_id' => '2', 'defaultApartment' => '1', 'gender' => 'Male', 'mobile_no' => '8600012345', 'verified' => '1'));
 }