Adding uniqueness contraints to normalised tables