'use strict'; /** @type {import('sequelize-cli').Migration} */ module.exports = { async up (queryInterface, Sequelize) { await queryInterface.createTable('liturgical_days', { id: { type: Sequelize.INTEGER, primaryKey: true, autoIncrement: true, allowNull: false }, date: { type: Sequelize.DATEONLY, allowNull: false, unique: true }, dayName: { type: Sequelize.STRING, allowNull: false } }); }, async down (queryInterface, Sequelize) { await queryInterface.dropTable('liturgical_days'); } };