<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class EmployeePositionSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        // Define the position names to be inserted
        $positions = [
            ['positionName' => 'Sales Rep.'],
            ['positionName' => 'Driver'],
            ['positionName' => 'Helper'],
        ];

        // Insert the positions into the employee_position table
        DB::table('employee_position')->insert($positions);
    }
}
