module.exports = (sequelize, type) => { const FlashCardAns = sequelize.define('flash_card_ans', { id: { type: type.INTEGER, primaryKey: true, autoIncrement: true }, user_id: type.INTEGER, cource_id: type.INTEGER, d_id: type.INTEGER, user_res: type.INTEGER, time_taken: type.INTEGER, note_id: type.INTEGER, mark: type.INTEGER, cohort_id: { type: type.INTEGER, defaultValue: 0 } }) return FlashCardAns; }