17 lines
468 B
JavaScript
17 lines
468 B
JavaScript
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;
|
|
} |