<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class HorarioPreferenciaSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $horarios = [
            ['descripcion' => 'AM'],
            ['descripcion' => 'PM'],
        ];

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