What do you think about adding a check whether the picked column has a unique key constraint? People can easily shoot themselves in the foot otherwise.