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

17 lines
436 B
JavaScript

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