From 7b7fa53e449128636f20d9ac9f924919ee0a5ced Mon Sep 17 00:00:00 2001 From: lukinovec Date: Mon, 18 Jul 2022 09:08:09 +0200 Subject: [PATCH] Update spatie.blade.md --- source/docs/v3/integrations/spatie.blade.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/docs/v3/integrations/spatie.blade.md b/source/docs/v3/integrations/spatie.blade.md index 2381e13..89e3c92 100644 --- a/source/docs/v3/integrations/spatie.blade.md +++ b/source/docs/v3/integrations/spatie.blade.md @@ -8,6 +8,8 @@ section: content ## **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} - Set the `database_connection` key in `config/activitylog.php` to `null`. This makes activitylog use the default connection.