hedgedoc/lib/migrations/20161009040430-support-delete-note.js

12 lines
262 B
JavaScript
Raw Normal View History

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