Since prisma does not have the notion of an UUID or Bytes type yet, uuids are treated as strings, and inserted as strings. This is a problem in cases like #1772, where we have a mysql binary(16) column holding UUIDs. On insert, the query engine will send the uuid as a string, and we get back an error because the size of the column and that of the string do not match.
Since prisma does not have the notion of an
UUIDorBytestype yet, uuids are treated as strings, and inserted as strings. This is a problem in cases like #1772, where we have a mysqlbinary(16)column holding UUIDs. On insert, the query engine will send the uuid as a string, and we get back an error because the size of the column and that of the string do not match.