Added Worship page rendering
This commit is contained in:
16
migrations/20240617095455-add-day-name-to-worship.js
Normal file
16
migrations/20240617095455-add-day-name-to-worship.js
Normal file
@@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
/** @type {import('sequelize-cli').Migration} */
|
||||
module.exports = {
|
||||
up: async (queryInterface, Sequelize) => {
|
||||
await queryInterface.addColumn('worships', 'day_name', {
|
||||
type: Sequelize.STRING,
|
||||
allowNull: false,
|
||||
default: ''
|
||||
});
|
||||
},
|
||||
|
||||
down: async (queryInterface, Sequelize) => {
|
||||
await queryInterface.removeColumn('worships', 'day_name');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user