Update note

This commit is contained in:
lukinovec 2022-07-19 09:20:00 +02:00
parent 526f4eb1b8
commit ed22dad0ed

View file

@ -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}