sending notification when new items arrive with send grid

This commit is contained in:
egradanin
2019-01-19 19:20:21 +01:00
parent 18032c6ca6
commit ba2fcf0b8c
8 changed files with 540 additions and 44 deletions

View File

@@ -10,8 +10,7 @@ const MarketAlert = sequelize.define("market_alert", {
last_date: Sequelize.STRING,
email: {
type: Sequelize.STRING,
allowNull: false,
unique: true
allowNull: false
}
});