Enabling measurements to have additional data
This commit is contained in:
parent
7af333c888
commit
48ed3c3fd9
@ -1,6 +1,13 @@
|
|||||||
import { SimpleSchema } from 'meteor/aldeed:simple-schema';
|
import { SimpleSchema } from 'meteor/aldeed:simple-schema';
|
||||||
|
|
||||||
const Measurement = new SimpleSchema({
|
const Measurement = new SimpleSchema({
|
||||||
|
additionalData: {
|
||||||
|
type: Object,
|
||||||
|
label: 'Additional Data',
|
||||||
|
defaultValue: {},
|
||||||
|
optional: true,
|
||||||
|
blackbox: true
|
||||||
|
},
|
||||||
userId: {
|
userId: {
|
||||||
type: String,
|
type: String,
|
||||||
label: 'User ID'
|
label: 'User ID'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user