1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-12 02:42:48 +00:00

more graph work

This commit is contained in:
2015-12-20 21:11:54 -06:00
parent b33ea2cb7d
commit 5bae9b8af2
7 changed files with 316 additions and 72 deletions

View File

@@ -3,7 +3,7 @@ var mongoose = require('mongoose');
var temperatureSchema = new mongoose.Schema({
temperature: Number,
humidity: Number,
location: String,
location: {type : String, default : "Undefined Location"},
updated: {type: Date, default: Date.now}
});