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
8 months ago
396,678 views
1 shares
database-memes, primary-key-memes, bad-practices-memes, data-modeling-memes, security-memes | ProgrammerHumor.io
More Like This
Dating A Programmer
1 year ago
378.1K views
1 shares
The truth about wizards
5 years ago
355.4K views
0 shares
The Comma Sabotage Strategy
1 year ago
434.5K views
0 shares
When Worlds Collide: JSON In SQL Database
1 year ago
454.0K views
0 shares
Pholiten Dual Monitor Mount for 2 Screens up to 32 Inches and 22lbs Each
Affiliate
Monitor Stands
Pholiten
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++