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

Support for jsonb columns #2

Closed
motine opened this issue Sep 30, 2020 · 0 comments · Fixed by #3
Closed

Support for jsonb columns #2

motine opened this issue Sep 30, 2020 · 0 comments · Fixed by #3

Comments

@motine
Copy link
Owner

motine commented Sep 30, 2020

Deserializing jsonb columns does not work.
Steps to reproduce: use a postgres table with a jsonb column. save something in there and try to restore it via fixpoints.

current workaround:

MyModel.all.each do |m|
  m.update!(the_jsonb_field: JSON.parse(m.the_jsonb_field))
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant