Postgres has native support for type UUID and it should be formatted with all caps when uppercase is true.