Files
DiceCloud/rpg-docs/Model/Campaign/Party.js
2015-04-22 12:44:25 +02:00

9 lines
239 B
JavaScript

Parties = new Mongo.Collection("parties");
Schemas.Party = new SimpleSchema({
//each character/monster can only be in one party at a time
//each party can only be in a single instance at a time
});
Parties.attachSchema(Schemas.Party);