Conversation
Notices
-
Embed this notice
never use a user's email address as a unique id in a database entry
-
Embed this notice
@John_Darksoul @professionalbigot69 most people designing database schemas seem to have no idea what they're doing
I wouldn't say using an email address as a primary key is technically wrong, especially if the organization is issuing the addresses and people can't just change them, but it's definitely not a very good idea
-
Embed this notice
@professionalbigot69 Just auto generate an employee id for every entry. Who doesn’t do that?