Boosted by jsonstein@masto.deoan.org ("Jeff Sonstein"):
frankel@mastodon.top ("Nicolas Fränkel 🇪🇺🇺🇦🇬🇪") wrote:
System design 101 (or even before): never use the email as the PK for a user account. What if the user needs to change their email?
Better make it a regular column with a UNIQUE constraint.