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

11 lines
257 B
JavaScript
Raw Normal View History

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