Replies: 1 comment 1 reply
-
|
Hi Adrian! Happy to accept a PR mapping uuid to the string type in the default mappings. See this example PR, which added types for |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Rails supports UUID primary keys in Postgres (https://guides.rubyonrails.org/active_record_postgresql.html#uuid-primary-keys), but UUID id fields are not properly serialized. The show up in types as 'unknown'. They should, I believe, be serialized as strings.
I'm working around that with code like:
But it would be nice if this feature was natively supported.
Beta Was this translation helpful? Give feedback.
All reactions