r/ProgrammerHumor • • Sep 27 '26

Meme doNotLetYourDBASeeThis

Post image
13k Upvotes

318 comments sorted by

View all comments

Show parent comment

7

u/silmelumenn Sep 27 '26

Let's go complex keys (salt, hashcode) 😅

8

u/Lamborghinigamer Sep 27 '26

Exactly. A unique salt guarantees a unique hash every time, so every single user gets a unique row regardless. Deduplicating unique rows with foreign keys is mathematically impossible