Under macOS 13 and Swift 5.7, Foundation's UUID() method does indeed return an upper case UUID, and Vapor Fluent is at least one framework that uses it as is. So, when you create a new record with an id=nil, Fluent will get a new uppercase UUID and store the new record with it. MySQL, on the other hand, generates lowercase UUIDs, and will store the lowercase UUID if you create the record in MySQL. MySQL and SQLite both treat the uppercase and lowercase keys as DIFFERENT. Caveat Emptor.
BUT... if you use the UUID from a previous data read, it shouldn't matter if it was saved with an upper or lower case UUID. You just have to be sure not to change the key's case.