Created
January 28, 2016 04:32
-
-
Save mokolodi1/780ab997dd859a01ca34 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SampleGroups = new Meteor.Collection("sample_groups"); | |
var sampleSchema = new SimpleSchema({ | |
study_label: { type: String }, | |
sample_label: { type: String }, | |
patient_label: { type: String, optional: true }, | |
}); | |
SampleGroups.attachSchema(new SimpleSchema({ | |
user_id: { type: String }, | |
collaborations: { type: [String] }, | |
sample_group_label: { type: String }, | |
sample_group_version: { type: Number, min: 1 }, | |
description: { type: String }, | |
samples: { type: [sampleSchema] } | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment