extends |
Pivot |
|---|
A role in a group — a row of sdk_group_role.
Groups are people's decisions, so the row is audited. The pivot keeps Laravel's default of no incrementing key:
detach() builds a pivot from the two foreign keys alone and deletes by them, so the stable key is the pair.
| Properties | |||
|---|---|---|---|
public
|
int
|
$group_id
|
# |
public
|
int
|
$role_id
|
# |