module.exports = (sequelize, type) => {
    const Discussion = sequelize.define('discussion', {
        id: {
            type: type.INTEGER,
            primaryKey: true,
            autoIncrement: true
        },
        u_id: type.INTEGER,
        d_id: type.INTEGER,
        c_id: type.INTEGER,
        discussion_id: type.INTEGER,
        question_reply: type.TEXT,
        que_ans_by: type.STRING,
        type: type.INTEGER
    })
    return Discussion;
}