module.exports = (sequelize, type) => { const CohortSchedule = sequelize.define('cohort_schedules', { id: { type: type.INTEGER, primaryKey: true, autoIncrement: true }, type: type.TEXT, cohort_id: type.INTEGER, type_id: type.INTEGER, due_date: type.TEXT, overdue_date: type.TEXT, end_date: type.TEXT, required: type.INTEGER, due_number: type.TEXT, overdue_number: type.TEXT, end_number: type.TEXT, homework: type.INTEGER, }) return CohortSchedule; }