Files
DiceCloud/rpg-docs/Model/Character/Levels/Levels.js
2015-02-25 12:48:45 +00:00

10 lines
264 B
JavaScript

Levels = new Meteor.Collection("levels");
Schemas.Level = new SimpleSchema({
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
classId: {type: String, regEx: SimpleSchema.RegEx.Id},
value: {type: Number}
});
Levels.attachSchema(Schemas.Level);