Update spatie.blade.md

This commit is contained in:
lukinovec 2022-07-18 09:08:09 +02:00 committed by GitHub
parent bb5618d98c
commit 7b7fa53e44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,8 @@ section: content
## **laravel-activitylog** {#laravel-activitylog} ## **laravel-activitylog** {#laravel-activitylog}
Note: Activity's subject_id has to be an integer. E.g., to use the LogsActivity trait on a model, the model's ID has to be an integer.
### For the tenant app: {#for-the-tenant-app} ### For the tenant app: {#for-the-tenant-app}
- Set the `database_connection` key in `config/activitylog.php` to `null`. This makes activitylog use the default connection. - Set the `database_connection` key in `config/activitylog.php` to `null`. This makes activitylog use the default connection.