9 lines
239 B
JavaScript
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);
|