module.exports = (sequelize, type) => { const MeetingChats = sequelize.define('meeting_chats', { id: { type: type.INTEGER, primaryKey: true, autoIncrement: true }, cohort_id: type.INTEGER, user_id: type.INTEGER, meeting_id: type.INTEGER, aws_meeting_id: type.TEXT, message_type: type.TEXT, attendees_log: type.TEXT, message: type.TEXT, ref_number: type.TEXT, status: { type: type.INTEGER, defaultValue: 0 } }) return MeetingChats; }