How it works with Livewire model.live #1028
christoferd
started this conversation in
General
Replies: 1 comment
-
As long as the laravel model is used (and not bulk updated in the database) then it would be fine. Each change is recorded unless the field is listed as one to be ignored. It can prune the amount of records in the database if that is what is required. I'm not familiar with the ins and outs of livewire so can't really comment on that part |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm wondering how this works with with Livewire model.live where there are multiple record updates in a small amount of time, updating a record as people type.
Does this package write every single change?
Does it support pruning? or reducing the amount of audit records in some way?
PS: I have a project that records activity on models, similar to auditing. The way I handle it is by checking the most recent activity on that model, ... IF it's the same User ID, then it would just merge the changes field, and update the date-time.
... Wondering if this package do that? Or is it easy for me to adjust and make it work with livewire model.live?
Beta Was this translation helpful? Give feedback.
All reactions