I'm building a management software where a company can input employees profiles with email, name, addresses etc. so either the company or the single employee can access the website using the email as the username to access it.
the problem:
the company may need to input the name of somebody who doesn't have an email (it's a rare case but it may happen) just for archival reason or as a draft.
in my MySQl the value user_email
is a unique index
what should I do?
Should I allow the email to be NULL? Should I fill the email with a temporary code? Should I fill/reserve the email with a temporary email fisrt.last@company.com?