mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
Update note
This commit is contained in:
parent
526f4eb1b8
commit
ed22dad0ed
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ section: content
|
|||
|
||||
## **laravel-activitylog** {#laravel-activitylog}
|
||||
|
||||
> Note: Activity's subject_id has to be an integer. For example, to use the LogsActivity trait on a model, the model's ID has to be an integer.
|
||||
> Note: The ID of the model who's the subject of Activity needs to be an integer. We recommend extra security measures when using integer IDs for tenants – because the IDs become enumerable, they get vulnerable to enumeration attacks (which UUIDs are safe against). For example, to use the LogsActivity trait on the Tenant model, modify the model to have an integer ID.
|
||||
|
||||
### For the tenant app: {#for-the-tenant-app}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue