add unique index on uuid for each namespace table