<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class OccupationSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        DB::table('occupations')->truncate();
        DB::table('occupations')->insert([
            [
                'name' => 'Doctor',
                'created_at' => now()
            ],
            [
                'name' => 'Engineer',
                'created_at' => now()
            ],
            [
                'name' => 'Professor',
                'created_at' => now()
            ],
            [
                'name' => 'Teacher',
                'created_at' => now()
            ],
            [
                'name' => 'Business',
                'created_at' => now()
            ],
            [
                'name' => 'House Wife',
                'created_at' => now()
            ],
            [
                'name' => 'Farmer',
                'created_at' => now()
            ]
        ]);

    }
}
