Added migrations

This commit is contained in:
Senad Uka
2019-03-10 05:23:52 +01:00
parent 055ca54002
commit e356f7a177
8 changed files with 852 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
'use strict';
module.exports = (sequelize, DataTypes) => {
const MarketAlert = sequelize.define('MarketAlert', {
olx_url: DataTypes.STRING
}, {});
MarketAlert.associate = function(models) {
// associations can be defined here
};
return MarketAlert;
};