Files
17th-Battalion-Tracker/api/db/junctionModels/courseEventTrainingReport.model.js
IndigoFox 9f2473801c Initial commit
TODO: change api.conf URL references to use environment variables and add these variables to the docker-compose configuration for host domain
2023-03-28 00:08:50 -07:00

21 lines
409 B
JavaScript

const Sequelize = require('sequelize');
module.exports = {
attendeeId: {
type: Sequelize.DataTypes.INTEGER,
allowNull: false,
},
courseEventId: {
type: Sequelize.DataTypes.INTEGER,
allowNull: false,
},
passed: {
type: Sequelize.DataTypes.BOOLEAN,
allowNull: false,
defaultValue: false
},
notes: {
type: Sequelize.DataTypes.STRING(500),
allowNull: true,
}
}