LMS/E-Learning-Backend-main/app/models/know_completed.js
2025-09-01 19:37:35 +05:30

17 lines
430 B
JavaScript

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;
}