Hello guys,
I am building an app with Laravel, and get a bit confused about the DB schema to use. Here is my scenario:
The app has different types of clients: Accounts, wholesalers, and Internal Reps. Each type will have several users that will need to login and submit orders.
My first thought was to have 3 tables a users table for the internal reps, accounts_users, and wholesaler_users tables for the rest.
I need your advice guys and please can you share any best practices for this use case?
Thanks
Stick with one users table, there is no difference between them when it comes to authentication, it's when you need to authorize the different users that the work should be done. You can do that with roles.