-
Notifications
You must be signed in to change notification settings - Fork 404
Description
PHP Version
8.3
Laravel Version
12.0
Package Version
Latest release
Description
A issue that has been reported before but no solution given: #483
I have the same issue where i have my database correctly set-up. The attribute is correctly being casted as 'datetime:Y-m-d' The save action has the same date as previous saved so the data after save was not dirty. But the audit is being logged as seen in below screenshot
This in my opinion is a core issue. Audits should only be saved if a database record was indeed different than before. Or at least respect the casts instead of the 'carbon' value being recorded as new value, which isnt even possible to save in the database.
Please give this a proper look or give us the proper way to handle this so the database isnt being filled with unneeded data.
Steps To Reproduce
.
Possible Solutions
No response