My problem is that I'm not sure what to do. I'm thinking to build a similar database structure like this (source):
However, while researching I found out that there are auditing packages like this. So I wonder, what are the pro and cons?
My thoughts are:
SQL History:
Pro:
- Specific Source of Tables with specific attributes
- easy readable each row on DB viewers
Cons:
- harder to implement
like Laravel Auditing
Pro:
- Easy to implement via Trait
- Easy to get history data to Eloquent
Cons:
- single audit table containing all auditable changes of all tables
- hard to read on DB viewers
Would you go the hard way or just take the package?