Using email as a primary key is already a terrible idea—what happens when users want to change their email? Cascade updates everywhere, foreign key nightmares, and a database migration that'll haunt your dreams. But sure, let's one-up that disaster by using the password as the primary key. Nothing says "job security through catastrophic technical debt" like having to update every single reference in your database when someone inevitably forgets their password. Also, you'd be storing plaintext passwords, which is basically a resume-building exercise for your next gig after the data breach lawsuit.
You Know What Would Be Even Funnier
2 months ago
292,536 views
1 shares
database-memes, primary-key-memes, bad-practices-memes, data-modeling-memes, security-memes | ProgrammerHumor.io
More Like This
Big Data: The Emperor's New Clothes
9 months ago
440.0K views
1 shares
Literally Mongo Sign
7 months ago
413.7K views
0 shares
UPLIFTDESK Bamboo (48 x 30 inch) Standing Desk 2-Leg V3 Adjustable Stand Up C-Frame (White), Advanced Keypad, Wire Grommets, Wire Tray, Rocker Board
Affiliate
Standing Desks
UPLIFT DESK
I Won But At What Cost
10 months ago
272.5K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp