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
When updatinga BelongsTo relation, the old_values id is parsed to an Int instead of a string.
This makes searching with whereJsonContains unpossible because you'll have to always check for both types
This is how I need to check in the audits table for a presence value now:
Actual Behaviour
When updatinga BelongsTo relation, the old_values id is parsed to an
Int
instead of astring
.This makes searching with
whereJsonContains
unpossible because you'll have to always check for both typesThis is how I need to check in the audits table for a presence value now:
Expected Behaviour
When updating a BelongsTo relation, the old_value of the id should be parsed to a string like any other action.
**old_values
Steps to Reproduce
Possible Solutions
Hard cast to (Int)
The text was updated successfully, but these errors were encountered: