Its possible to generate uuids with postgres (https://www.postgresqltutorial.com/postgresql-uuid/) Now I need to update my table where uuids are missing. I am not able to figure out how to achieve it. The column individual_uuid has a unique constraint. Any ideas? ??? should be replaced with the syntax I need.
update foo_table set individual_uuid = ???? where individual_uuid is null
not working:
update foo_table set individual_uuid = (SELECT uuid_generate_v1()) where individual_uuid is null