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

12 lines
278 B
JavaScript
Raw Normal View History

2016-10-10 13:04:24 +00:00
'use strict';
module.exports = {
up: function (queryInterface, Sequelize) {
queryInterface.addColumn('Notes', 'deletedAt', Sequelize.DATE);
},
down: function (queryInterface, Sequelize) {
queryInterface.removeColumn('Notes', 'deletedAt', Sequelize.DATE);
}
};