seed house and power data

This commit is contained in:
Eric Hulburd
2016-01-31 11:35:22 -06:00
parent e4513282f9
commit 2c42090cd9
5 changed files with 32 additions and 17 deletions

View File

@@ -23,10 +23,10 @@ var PowerDatum = DB.sequelize.define('PowerDatum', {
primaryKey: true,
autoIncrement: true // Automatically gets converted to SERIAL for postgres
},
time: DB.Sequelize.FLOAT,
time: DB.Sequelize.DATE,
power: DB.Sequelize.FLOAT
}, {
tableName: "power_data",
tableName: "power_data",
instanceMethods: {
},