Esempio n. 1
0
 public function run()
 {
     DB::table('real_estate_schools')->truncate();
     DB::table('experience_levels')->truncate();
     $schools = [['school_name' => 'Scheetz Online School'], ['school_name' => 'Tucker Live Class'], ['school_name' => 'Tucker online class'], ['school_name' => 'RECP Live Class'], ['school_name' => 'RECP Online Class'], ['school_name' => 'IREI Live Class'], ['school_name' => 'RU – Live Class'], ['school_name' => 'RU – Online Class'], ['school_name' => 'RECI – Online class']];
     $experience_levels = [['level' => 'Just thinking about Real Estate'], ['level' => 'In Pre-Licensing School'], ['level' => 'Licensed and ready to go'], ['level' => 'Experienced Agent'], ['level' => 'Referral ']];
     foreach ($experience_levels as $level) {
         \App\ExperienceLevel::create($level);
     }
     foreach ($schools as $school) {
         \App\RealEstateSchool::create($school);
     }
 }