<?php

namespace Database\Seeders;

use App\Models\User;
use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     *
     * @return void
     */
    public function run()
    {
        // \App\Models\User::factory(10)->create();
        User::factory()->create([
            "name" => "Admin Arirang",
            "email" => "root@email.com",
        ]);

        $this->call([CategorySeeder::class, ArticleSeeder::class]);
    }
}
