hedgedoc/lib/migrations/20161009040430-support-delete-note.js
2016-10-10 21:04:24 +08:00

11 lines
278 B
JavaScript

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