Enabling measurements to have additional data

This commit is contained in:
Bruno Alves de Faria 2017-02-17 15:35:37 -02:00
parent 7af333c888
commit 48ed3c3fd9

View File

@ -1,6 +1,13 @@
import { SimpleSchema } from 'meteor/aldeed:simple-schema';
const Measurement = new SimpleSchema({
additionalData: {
type: Object,
label: 'Additional Data',
defaultValue: {},
optional: true,
blackbox: true
},
userId: {
type: String,
label: 'User ID'