%PDF- %PDF-
| Direktori : /home/opti/workflow/src/models/ |
| Current File : /home/opti/workflow/src/models/requesthistory.js |
'use strict';
module.exports = (sequelize, DataTypes) => {
const RequestHistory = sequelize.define('RequestHistory', {
orgId: DataTypes.INTEGER,
requestId: DataTypes.INTEGER,
updatedBy: DataTypes.INTEGER, //the same as madeBy
status: DataTypes.STRING,
message: DataTypes.STRING
}, {});
RequestHistory.associate = function(models) {
// associations can be defined here
};
return RequestHistory;
};