Files
17th-Battalion-Tracker/api/db/models/CourseEvent.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

25 lines
521 B
JavaScript

const Sequelize = require('sequelize');
module.exports = {
notes: {
type: Sequelize.DataTypes.STRING(1000),
allowNull: true,
},
runDate: {
type: Sequelize.DataTypes.DATEONLY,
allowNull: false,
defaultValue: Sequelize.DataTypes.NOW
},
courseTaughtId: {
type: Sequelize.DataTypes.INTEGER,
allowNull: false,
},
createdById: {
type: Sequelize.DataTypes.INTEGER,
allowNull: false,
},
lastModifiedById: {
type: Sequelize.DataTypes.INTEGER,
allowNull: false,
},
}