My site will have two types of users: customers and admins. They all need accounts. And for accounts the built-in meteor accounts system makes use of the users
collection. Are there any ways to separate these two types of users into separate collections (say, customers
and admins
) rather than have them all in that one single collection? I might also want to have these types of users in separate databases (on different servers): one database for customers
and the other one for admins
. So, how to tell Meteor which database to use for which collection?
It's an e-commerce type of site. Can anyone tell me why one single collection would be better to use for both customers and admins? What are the pros and cons of using one collection instead of the two when creating a web shop?