Add UserSeeder

This commit is contained in:
NoAvatar 2024-10-17 06:18:03 +10:00
parent 49e4e3976d
commit 1413c48c6c

View File

@ -0,0 +1,19 @@
<?php
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Support\Str;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
class UserSeeder extends Seeder
{
public function run(): void
{
//
User::factory(15)->create();
}
}