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

@@ -0,0 +1,14 @@
"use strict";
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.addColumn("SearchRequests", "notifiedAt", {
type: Sequelize.DATE,
defaultValue: new Date()
});
},
down: (queryInterface, Sequelize) => {
return queryInterface.removeColumn("SearchRequests", "notifiedAt");
}
};