How to handle json column changes with getChanges() ? #52319
Unanswered
dutchman1990
asked this question in
Q&A
Replies: 0 comments
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 have two models Model A and Model B where model B is using to store changes in Model A to audit.
Model A has 4 json columns with following casts
If there is a changes in column area_array the getChanges() method returns following data.
but I want to remove extra quote wrap from area_array so the expected output will be like below.
PS: I can not remove casts from Model A.
Beta Was this translation helpful? Give feedback.
All reactions