<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Spatie\Permission\Models\Role;

class RoleSeeder extends Seeder
{
    public function run(): void
    {
        foreach (['Owner','Administrator','LLN Specialist','Enrolment Officer','Student'] as $name) {
            Role::firstOrCreate(['name' => $name]);
        }
    }
}
