<?php

namespace Database\Seeders;

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

class GroupsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        DB::table('groups')->truncate();
        DB::table('groups')->insert([
            [
                'group_name' => 'Science',
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'group_name' => 'Commerce',
                'created_at' => now(),
                'updated_at' => now(),
            ],
            [
                'group_name' => 'Humanity',
                'created_at' => now(),
                'updated_at' => now(),
            ],
        ]);
    }
}
