Changed checkup email logic.

This commit is contained in:
Naida Vatric
2020-02-15 02:30:02 +01:00
parent fc7fe3c0b3
commit 06f80296f3
6 changed files with 56 additions and 46 deletions

View File

@@ -90,7 +90,11 @@ module.exports = (sequelize, DataTypes) => {
floorMin: DataTypes.INTEGER,
floorMax: DataTypes.INTEGER,
accessRoadType: DataTypes.TEXT,
heatingType: DataTypes.TEXT
heatingType: DataTypes.TEXT,
notifiedAt: {
type: DataTypes.DATE,
defaultValue: new Date()
}
});
return SearchRequest;