1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-11 18:32:50 +00:00

added more api's. Fixed data types for temperature schema

This commit is contained in:
2015-12-19 01:40:27 -06:00
parent 73da2b5020
commit da4140ddea
8 changed files with 100 additions and 21 deletions

View File

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