synt_backend
Version:
Synt light-weight node backend service
16 lines (13 loc) • 384 B
JavaScript
/** @type {import('sequelize-cli').Migration} */
module.exports = {
async up(queryInterface, Sequelize) {
await queryInterface.addColumn("Reminders", "type", {
type: Sequelize.ENUM("message", "unpaid provision"),
defaultValue: "message",
});
},
async down(queryInterface) {
await queryInterface.removeColumn("Reminders", "type");
},
};
;