Sequel Upgrade #2178
Closed
cmavromoustakos
started this conversation in
General
Sequel Upgrade
#2178
Replies: 3 comments 2 replies
-
What database are you using? Can you create a minimal self contained example showing the problem? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Here is the test we are running that is failiung
|
Beta Was this translation helpful? Give feedback.
1 reply
-
It turns out we were not using pg_json but for some reason this was working in prior versions. As soon as we added it it fixed our issue. Thank you for your fast response. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
We are upgrading from sequel (4.49.0) to sequel (5.66.0). In the process we noticed that JSON attributes which used to be returned as JSON objects are now being returned as JSON strings. So for example the possible_causes attribute is being returned as a JSON string. We started fixing these by adding a JSON.parse everywhere we are expecting an object but I wanted to ask here because that solution seems wrong. Any help would be appreciated.
The query we are using is
database[:consolidated_events].all
And the DB migration:
Beta Was this translation helpful? Give feedback.
All reactions