module.exports = (sequelize, type) => { const MiniMasterCompleteClass = sequelize.define('mini_master_completed_class', { id: { type: type.INTEGER, primaryKey: true, autoIncrement: true }, user_id: type.INTEGER, class_id: type.INTEGER, steps: type.STRING, status: { type: type.INTEGER, defaultValue: 0 } }) return MiniMasterCompleteClass; }