render energy savings table

This commit is contained in:
Eric Hulburd
2016-02-10 18:57:15 -06:00
parent 9996dfc54e
commit c75ae9030c
10 changed files with 28 additions and 25 deletions

View File

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