mirror of
https://github.com/dyzulk/santulitam-temp.git
synced 2026-01-26 05:45:28 +07:00
33 lines
575 B
PHP
33 lines
575 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\UserRole;
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
|
|
|
class UserRoleSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
UserRole::create([
|
|
'name' => 'Super Admin',
|
|
]);
|
|
|
|
UserRole::create([
|
|
'name' => 'Admin',
|
|
]);
|
|
|
|
UserRole::create([
|
|
'name' => 'Mentor',
|
|
]);
|
|
|
|
UserRole::create([
|
|
'name' => 'Peserta',
|
|
]);
|
|
}
|
|
}
|