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
Rails should natively support MySQL's UUID binary(16) type.
The optimal storage for UUIDs in MySQL is the binary(16) type. However, since it's binary, both insertion and querying become cumbersome, requiring conversion. ActiveRecord does not support this natively by default.
Hope to see native UUID support built in, eliminating the need for manual conversion.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Rails should natively support MySQL's UUID binary(16) type.
The optimal storage for UUIDs in MySQL is the binary(16) type. However, since it's binary, both insertion and querying become cumbersome, requiring conversion. ActiveRecord does not support this natively by default.
Hope to see native UUID support built in, eliminating the need for manual conversion.
Beta Was this translation helpful? Give feedback.
All reactions