lapis
lapis copied to clipboard
BINARY and VARBINARY data types for MySQL? [feature request]
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?
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.