module.exports = (sequelize, type) => { const FlashAnsOffline = sequelize.define('flashans_offline', { id: { type: type.INTEGER, primaryKey: true, autoIncrement: true }, UserId: type.INTEGER, cid: type.INTEGER, domain: type.INTEGER, user_res: type.INTEGER, time_taken: { type: type.INTEGER, defaultValue: 0 }, notes: type.INTEGER, mark: type.INTEGER, cohort_id: { type: type.INTEGER, defaultValue: 0 } }) return FlashAnsOffline; }