'AM'], ['descripcion' => 'PM'], ]; foreach ($horarios as $horario) { \Illuminate\Support\Facades\DB::table('horariospreferencias')->insert([ 'descripcion' => $horario['descripcion'], 'created_at' => now(), 'updated_at' => now(), ]); } } }