Added migrations, expanded maketalert table

This commit is contained in:
Nedim Uka
2019-06-18 13:13:16 +02:00
parent 6aaaea1612
commit b17b6862ba
3 changed files with 73 additions and 1 deletions

View File

@@ -1,7 +1,9 @@
'use strict';
module.exports = (sequelize, DataTypes) => {
const MarketAlert = sequelize.define('MarketAlert', {
olxUrl: DataTypes.STRING,
url: DataTypes.STRING,
realestateOrigin: DataTypes.STRING,
originId: DataTypes.STRING,
lastDate: DataTypes.STRING,
email: {
type: DataTypes.STRING,