20 lines
605 B
JavaScript
20 lines
605 B
JavaScript
module.exports = (sequelize, type) => {
|
|
const SelfPacedHour = sequelize.define('self_paced_hours', {
|
|
id: {
|
|
type: type.INTEGER,
|
|
primaryKey: true,
|
|
autoIncrement: true
|
|
},
|
|
flashcard_app: type.INTEGER,
|
|
flashcard_app_revision: type.INTEGER,
|
|
practice_que_app: type.INTEGER,
|
|
practice_que_app_revision: type.INTEGER,
|
|
know_ass_revision: type.INTEGER,
|
|
practice_test_revision: type.INTEGER,
|
|
status: {
|
|
type: type.INTEGER,
|
|
defaultValue: 0
|
|
}
|
|
})
|
|
return SelfPacedHour;
|
|
} |