4 ms·
Would you clarify why it's worse to use an email address than a username as an internal key/identifier? It seems to me in either case you suffer the problem of,
by gkop 9y ago
Would you clarify why it's worse to use an email address than a username as an internal key/identifier? It seems to me in either case you suffer the problem of, if the email or username changes, needing to update all the "foreign key" references to the identifier throughout your database.
- lathiat 9y agoThat would be my assumption, and feels like a good idea to me. Use the e-mail as the login locator, but not as the primary key.