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

14 lines
353 B
JavaScript

module.exports = (sequelize, type) => {
const Notes = sequelize.define('notes', {
id: {
type: type.INTEGER,
primaryKey: true,
autoIncrement: true
},
user_id: type.INTEGER,
domain_id: type.INTEGER,
card_id: type.INTEGER,
notes: type.STRING
})
return Notes;
}