<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class BajaSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        DB::table('bajas')->updateOrInsert(
            ['id' => 1],
            [
                'descripcion' => 'Activo',
                'created_at' => now(),
                'updated_at' => now(),
            ]
        );

        DB::table('bajas')->updateOrInsert(
            ['id' => 2],
            [
                'descripcion' => 'Baja',
                'created_at' => now(),
                'updated_at' => now(),
            ]
        );
    }
}
