Commit fb9f19b8de97962c258db7a2f80caebeda20defa

Authored by Ryan Glover
Exists in master

Merge branch 'feature/add_schemas_#8' into v3.0.0

Closes #8
... ... @@ -32,3 +32,4 @@ fourseven:scss
32 32 stevezhu:lodash
33 33 reactive-var
34 34 reactive-dict
  35 +aldeed:collection2
... ...
1 1 accounts-base@1.2.1
2 2 accounts-password@1.1.3
  3 +aldeed:collection2@2.5.0
  4 +aldeed:simple-schema@1.3.3
3 5 audit-argument-checks@1.0.4
4 6 autoupdate@1.2.3
5 7 babel-compiler@5.8.24_1
... ...
collections/collection.js
... ... @@ -11,3 +11,12 @@ Collection.deny({
11 11 update: () => true,
12 12 remove: () => true
13 13 });
  14 +
  15 +let CollectionSchema = new SimpleSchema({
  16 + "owner": {
  17 + type: String,
  18 + label: "The ID of the owner of this document."
  19 + }
  20 +});
  21 +
  22 +Collection.attachSchema( CollectionSchema );
... ...