add id to guarded

This commit is contained in:
2025-05-07 14:42:22 +03:30
parent 992ddf2f66
commit 6995377b6f
9 changed files with 12 additions and 11 deletions

View File

@@ -9,5 +9,5 @@ use Spatie\Permission\Models\Role as SpatieRole;
class Role extends SpatieRole
{
use HasFactory;
protected $guarded = [];
protected $guarded = ['id'];
}