These are basically done to map postgres column types to nim-types, and those maps are 1:1. So since "string" is already mapped to the "TEXT" column type, you can't use it for anything else. You need to introduce a new type that is mapped to the "uuid" column type. Which means introducing a distinct type