Hi all,
I have two tables: Users and companies. Both have field EMAIL as unique
Is there any way to prevent duplicated email acrosss different tables?
The idea is to prevent a company and a user with same email address.
Currently I check it at moment of register wether the email exists on both tables, but I'd like to have something more solid.
I'm using MySQL 5, MyISAM
Thanks in advance