Database Design for multiple users site
Posted
by jl
on Stack Overflow
See other posts from Stack Overflow
or by jl
Published on 2010-04-03T14:45:18Z
Indexed on
2010/04/03
14:53 UTC
Read the original article
Hit count: 485
database
|database-design
Hi,
I am required to work on a php project that requires the database to cater to multiple users. Generally, the idea is similar to what they have for carbonmade
or basecamp
, or even wordpress mu
. They cater to multiple users, whom are also owners of their accounts. And if they were to cancel/terminate their account, anything on the pages/database would be removed.
I am not quite sure how should I design the database? Should it be:
- separate tables for individual user account
- separate databases for individual user account
- or otherwise?
Kindly advise me for the best approach to this issue. Thank you very much.
© Stack Overflow or respective owner