Answer by T I for How to design the database schema?
As "A user can have at most one profile" it sounds like you'll benefit by adding a user_profile table which would then be 'subtyped' by broker, seller and buyer, adding additional fields as...
View ArticleHow to design the database schema?
I am designing the database for a portal.Specifically, I have a users table that contains columns: id, username and password. Also there are three types of users: buyers, sellers and brokers and each...
View Article