Make a field 'reg_id' unique