fix problems with rendering data

This commit is contained in:
Eric Hulburd
2016-02-21 18:40:55 -06:00
parent a84df34b55
commit c1fddd944e
28 changed files with 456 additions and 158 deletions

View File

@@ -15,7 +15,7 @@ var PowerDatum = DB.sequelize.define(NAME, {
autoIncrement: true // Automatically gets converted to SERIAL for postgres
},
time: {
type: DB.Sequelize.DATE,
type: DB.Sequelize.INTEGER,
},
consumption: DB.Sequelize.FLOAT,
production: DB.Sequelize.FLOAT