Colubrina/backend/migrations/20220802105441-removeOldUserColumns.js

18 lines
380 B
JavaScript
Raw Permalink Normal View History

2022-08-02 21:15:16 +10:00
"use strict"
module.exports = {
async up(queryInterface, Sequelize) {
await queryInterface.removeColumn("Users", "guidedWizard")
await queryInterface.removeColumn("Users", "emailDirectLogin")
},
async down(queryInterface, Sequelize) {
/**
* Add reverting commands here.
*
* Example:
* await queryInterface.dropTable('users');
*/
}
}