Meteor-Community-Packages / meteor-collection2

A Meteor package that extends Mongo.Collection to provide support for specifying a schema and then validating against that schema when inserting and updating.
https://packosphere.com/aldeed/collection2
MIT License
1.02k stars 108 forks source link

Database model of `meteor-roles` package changed #399

Closed SimonSimCity closed 4 years ago

SimonSimCity commented 4 years ago

In version 3 of the meteor-roles package I've changed the database model so it doesn't store the assigned roles in the user-document anymore. Since you're here showing an example of a schema that could be used for the users collection, I think it's worth mentioning that this only yields for version 1 and 2 of the meteor-roles package.

harryadel commented 4 years ago

Done, https://github.com/Meteor-Community-Packages/meteor-collection2/commit/a30bd9895a78b8da742cd37fb6a954ddc14111bb. Thanks for letting us know. :)