codimd/lib/migrations/20161009040430-support-dele...

10 lines
244 B
JavaScript

module.exports = {
up: function (queryInterface, Sequelize) {
queryInterface.addColumn('Notes', 'deletedAt', Sequelize.DATE)
},
down: function (queryInterface, Sequelize) {
queryInterface.removeColumn('Notes', 'deletedAt')
}
}