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
Is there any plan for this library to support jsonb and json database fields?
I mean, when someone updates a key in a jsonb field, we can track changes for that specific key in the field not whole field.
Currently revisionable marks whole jsonb field as changed when you edit only a key in that field.
The text was updated successfully, but these errors were encountered:
@stemount, I don't now if i'ts the best way to handle json fiels. I've just sent a hot fix that i made in a fork of this project on @sensorial-dev/revisionable repo.
If a json { "title": "foo", "description": "bar" } is updated to { "title": "foo", "description": "baz" } it will keep only the updated field on revisions.new_value : { "description": "baz" }
Hi there,
Is there any plan for this library to support
jsonb
andjson
database fields?I mean, when someone updates a key in a
jsonb
field, we can track changes for that specific key in the field not whole field.Currently revisionable marks whole
jsonb
field as changed when you edit only a key in that field.The text was updated successfully, but these errors were encountered: