Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any plan to handle jsonb and json fileds? #210

Open
ahmadazimi opened this issue Mar 1, 2016 · 4 comments
Open

Is there any plan to handle jsonb and json fileds? #210

ahmadazimi opened this issue Mar 1, 2016 · 4 comments

Comments

@ahmadazimi
Copy link

Hi there,

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.

@Nagle
Copy link

Nagle commented Mar 6, 2016

👍

@darkostanimirovic
Copy link

Is anyone working on this perhaps, or is it on the roadmap somewhere?

@stemount
Copy link

I'm trying to figure out what is going on with the development of this @JimmyBastos @Dartanjan because I want to use this in a number of my projects!

@JimmyBastos
Copy link

JimmyBastos commented Jul 31, 2019

@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" }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants