module.exports = (sequelize, type) => { const KaComplete = sequelize.define('knowcompletes', { id: { type: type.INTEGER, primaryKey: true, autoIncrement: true }, ka_id: type.INTEGER, user_id: type.INTEGER, cohort_id: type.INTEGER, status: { type: type.INTEGER, defaultValue: 0 } }) return KaComplete; }