you can provide uuid_generate_v4 as the default value for uuid columns