You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #589 on March 13, 2023 20:56.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Actual Behaviour
I have the following code for creating / updating a record:
Which inserts the following to my
audits
table:old_values
new_values
which of course gives the following error when I try to display audits for it:
My table definition for column count:
I have no special settings for this column in my model class.
Expected Behaviour
The
new_values
for the change inaudits
table should be like this:Steps to Reproduce
I am not sure this is the problem for all
DB::raw()
or just for the specific one that I am usingDB::raw('count + 1')
.Thanks
Beta Was this translation helpful? Give feedback.
All reactions