Unique in 2 columns.


I have 2 columns email1 and email2

Is it possible to set a restriction to not be able to add the same email twice in these columns, only using indexes?