module.exports = (sequelize, type) => { const VideoDiscussion = sequelize.define('video_disscussion', { id: { type: type.INTEGER, primaryKey: true, autoIncrement: true }, from: type.INTEGER, to: type.INTEGER, v_id: type.INTEGER, message: type.TEXT, status: { type: type.INTEGER, defaultValue: 0 } }) return VideoDiscussion; }