Skip to content

Commit 55280d2

Browse files
committed
Update README.md
1 parent ee21a6c commit 55280d2

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,10 @@ If you are using `uuid` or `ulid`, you can change `foreign_key_type` to your cor
189189
...
190190

191191
/*
192-
* If you are using uuid or ulid you can change it for the type of foreign_key.
193-
*
194-
* When you are using ulid or uuid, you need to add related traits into the models.
192+
* Specify the type of foreign key being used (e.g., 'id', 'uuid', 'ulid').
193+
* For non-standard IDs, make sure to add the relevant traits to your models.
195194
*/
196-
'foreign_key_type' => 'uuid', // uuid, ulid, id
195+
'foreign_key_type' => 'id', // Options: uuid, ulid, id
197196
],
198197
```
199198

@@ -229,11 +228,13 @@ If you want to disable monitoring for specific pages you can go to `user-monitor
229228
```php
230229
'visit_monitoring' => [
231230
/*
232-
* You can specify pages not to be monitored.
231+
* List of pages that should be excluded from visit monitoring.
232+
* Add route names or URL paths to this array if you want to exclude certain pages.
233233
*/
234234
'except_pages' => [
235-
'home',
236-
'admin/dashboard',
235+
'user-monitoring/visits-monitoring',
236+
'user-monitoring/actions-monitoring',
237+
'user-monitoring/authentications-monitoring',
237238
],
238239
],
239240
```
@@ -250,12 +251,13 @@ First, you need to go to the `user-monitoring` config file and highlight the day
250251
...
251252

252253
/*
253-
* If you want to delete visit rows after some days, you can change this to 360,
254-
* but if you don't like to delete rows you can change it to 0.
254+
* Set the number of days after which visit records should be automatically deleted.
255+
* Set to 0 to disable automatic deletion.
255256
*
256-
* For this feature you need Task-Scheduling => https://laravel.com/docs/10.x/scheduling
257+
* To enable automatic deletion, configure Laravel's task scheduling as outlined here:
258+
* https://laravel.com/docs/scheduling
257259
*/
258-
'delete_days' => 10,
260+
'delete_days' => 0,
259261
],
260262
```
261263

0 commit comments

Comments
 (0)