fix parsing reports, change tables to use timestamps
This commit is contained in:
@@ -11,8 +11,7 @@ module.exports = (sequelize, DataTypes) => {
|
||||
type: DataTypes.ENUM,
|
||||
values: [USER_LOCKED_DOOR, USER_UNLOCKED_DOOR]
|
||||
},
|
||||
date: DataTypes.DATEONLY,
|
||||
time: DataTypes.TIME,
|
||||
timestamp: DataTypes.DATE,
|
||||
}, {});
|
||||
doorLockEvent.associate = function(models) {
|
||||
// associations can be defined here
|
||||
|
||||
Reference in New Issue
Block a user