module.exports = (sequelize, DataTypes) => { const LiturgicalDay = sequelize.define('LiturgicalDay', { id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true }, date: { type: DataTypes.DATEONLY, allowNull: false, unique: true }, dayName: { type: DataTypes.STRING, allowNull: false } }, { tableName: 'liturgical_days', timestamps: false }); return LiturgicalDay; };