callOnce([ CountrySeeder::class, ProvinceSeeder::class, DistrictSeeder::class, MunicipalitySeeder::class, DropdownSeeder::class, ]); $admin = \App\Models\User::factory()->create([ 'name' => 'Admin User', 'email' => 'admin@gmail.com', 'employee_id' => null, 'password' => Hash::make('password'), ]); $adminRole = Role::create(['name' => 'admin']); $memberRole = Role::create(['name' => 'employee']); $admin->assignRole($adminRole); } }