Added migrations
This commit is contained in:
10
ma-api/lib/models/marketalert.js
Normal file
10
ma-api/lib/models/marketalert.js
Normal 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;
|
||||
};
|
||||
Reference in New Issue
Block a user