Im thinking about what is the better way to design a database with the following statements:
- There are 3 kinds of users (3 differents roles).
- They have some common fields, however they have differents fields too.
Solution A: All user in the same table (some users will have empty fieds depending of their role).
Solution B: A main table where i will add users and their role. In addition i will create 3 extra tables where i will record with extra fields (depending of the table) and each record will have an id related with the user in the main table.
Solution C: A main table with basic user info, and a second table with the metadata user info where each record means a field of a user. That it's similar than WordPress