lapis icon indicating copy to clipboard operation
lapis copied to clipboard

BINARY and VARBINARY data types for MySQL? [feature request]

Open ryanford opened this issue 5 years ago • 1 comments

It's common to store UUIDs as binary, however the BIT type is too small and a BLOB is too large. Can we get BINARY and VARBINARY types?

ryanford avatar Sep 03 '18 15:09 ryanford

Just leaving a note here for anyone that comes across similar issues:

The schema type constructors are just helpers for generating the appropriate sql fragment for types. The create_table function is able to take a plain string for the type specification so you are free to use any type you want.

leafo avatar Feb 15 '23 20:02 leafo