synt_backend
Version:
Synt light-weight node backend service
27 lines (24 loc) • 580 B
JavaScript
module.exports = {
async up(queryInterface, Sequelize) {
/**
* Add altering commands here.
*
* Example:
* await queryInterface.createTable('users', { id: Sequelize.INTEGER });
*/
await queryInterface.addColumn("Reminders", "active", {
type: Sequelize.BOOLEAN,
defaultValue: true,
});
},
async down(queryInterface) {
/**
* Add reverting commands here.
*
* Example:
* await queryInterface.dropTable('users');
*/
await queryInterface.removeColumn("Reminders", "active");
},
};
;