I'd like to build an authentication system, where each user has her own salt - each password gets hashed with the salt of the user it belongs to.
How should I design the database schema?
Here's a design I came up with, but I'm not sure about it, as hash depends on salt and this violates third normal form:
users(id, salt, hash, ...)