TODO: change api.conf URL references to use environment variables and add these variables to the docker-compose configuration for host domain
16 lines
313 B
JavaScript
16 lines
313 B
JavaScript
const Sequelize = require('sequelize');
|
|
|
|
module.exports = {
|
|
name: {
|
|
type: Sequelize.DataTypes.STRING(100),
|
|
allowNull: false,
|
|
},
|
|
createdById: {
|
|
type: Sequelize.DataTypes.INTEGER,
|
|
allowNull: false,
|
|
},
|
|
lastModifiedById: {
|
|
type: Sequelize.DataTypes.INTEGER,
|
|
allowNull: false,
|
|
},
|
|
}; |