Skip to content

Commit

Permalink
fix role factory
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy132 committed Aug 2, 2024
1 parent ade37ac commit 76d2055
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/Models/Role.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Spatie\Permission\Models\Role as BaseRole;

/**
Expand All @@ -17,6 +18,8 @@
*/
class Role extends BaseRole
{
use HasFactory;

public const RESOURCE_NAME = 'role';

public const ROOT_ADMIN = 'Root Admin';
Expand Down

0 comments on commit 76d2055

Please sign in to comment.